Commit 89aff725 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/ltlparse/ltlparse.yy (result): Do not assign to $$, it's useless.

Suggested by Akim.
parent f7fe379e
2005-09-29 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltlparse/ltlparse.yy (result): Do not assign to $$, it's useless.
Suggested by Akim.
* src/tgbatest/randtgba.cc: New option -H.
* src/tgbaalgos/emptiness_stats.hh (unsigned_statistics_copy): New
class.
......
......@@ -115,24 +115,24 @@ using namespace spot::ltl;
%%
result: subformula END_OF_INPUT
{ result = $$ = $1;
{ result = $1;
YYACCEPT;
}
| error END_OF_INPUT
{ error_list.push_back(parse_error(@1,
"could not parse anything sensible"));
result = $$ = 0;
result = 0;
YYABORT;
}
| subformula error END_OF_INPUT
{ error_list.push_back(parse_error(@2,
"ignoring trailing garbage"));
result = $$ = $1;
result = $1;
YYACCEPT;
}
| END_OF_INPUT
{ error_list.push_back(parse_error(@$, "empty input"));
result = $$ = 0;
result = 0;
YYABORT;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment