Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
89aff725
Commit
89aff725
authored
Sep 29, 2005
by
Alexandre Duret-Lutz
Browse files
* src/ltlparse/ltlparse.yy (result): Do not assign to $$, it's useless.
Suggested by Akim.
parent
f7fe379e
Changes
2
Show whitespace changes
Inline
Side-by-side
ChangeLog
View file @
89aff725
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.
...
...
src/ltlparse/ltlparse.yy
View file @
89aff725
...
...
@@ -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;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment