* 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>
|
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/tgbatest/randtgba.cc: New option -H.
|
||||||
* src/tgbaalgos/emptiness_stats.hh (unsigned_statistics_copy): New
|
* src/tgbaalgos/emptiness_stats.hh (unsigned_statistics_copy): New
|
||||||
class.
|
class.
|
||||||
|
|
|
||||||
|
|
@ -115,24 +115,24 @@ using namespace spot::ltl;
|
||||||
|
|
||||||
%%
|
%%
|
||||||
result: subformula END_OF_INPUT
|
result: subformula END_OF_INPUT
|
||||||
{ result = $$ = $1;
|
{ result = $1;
|
||||||
YYACCEPT;
|
YYACCEPT;
|
||||||
}
|
}
|
||||||
| error END_OF_INPUT
|
| error END_OF_INPUT
|
||||||
{ error_list.push_back(parse_error(@1,
|
{ error_list.push_back(parse_error(@1,
|
||||||
"could not parse anything sensible"));
|
"could not parse anything sensible"));
|
||||||
result = $$ = 0;
|
result = 0;
|
||||||
YYABORT;
|
YYABORT;
|
||||||
}
|
}
|
||||||
| subformula error END_OF_INPUT
|
| subformula error END_OF_INPUT
|
||||||
{ error_list.push_back(parse_error(@2,
|
{ error_list.push_back(parse_error(@2,
|
||||||
"ignoring trailing garbage"));
|
"ignoring trailing garbage"));
|
||||||
result = $$ = $1;
|
result = $1;
|
||||||
YYACCEPT;
|
YYACCEPT;
|
||||||
}
|
}
|
||||||
| END_OF_INPUT
|
| END_OF_INPUT
|
||||||
{ error_list.push_back(parse_error(@$, "empty input"));
|
{ error_list.push_back(parse_error(@$, "empty input"));
|
||||||
result = $$ = 0;
|
result = 0;
|
||||||
YYABORT;
|
YYABORT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue