* src/ltlparse/ltlparse.yy (result): Do not assign to $$, it's useless.
Suggested by Akim.
This commit is contained in:
parent
f7fe379e60
commit
89aff72523
2 changed files with 7 additions and 4 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue