* src/tgbaparse/tgbaparse.yy: Accept automaton without state.

* src/ltltest/randltl.cc: Typo.
This commit is contained in:
Denis Poitrenaud 2005-01-11 12:27:37 +00:00
parent 3f2790061a
commit 86b7f26960
3 changed files with 14 additions and 3 deletions

View file

@ -81,7 +81,12 @@ typedef std::map<std::string, bdd> formula_cache;
} acc_list
%%
tgba: acceptance_decl lines | lines;
tgba: acceptance_decl lines
| acceptance_decl
{ result->add_state("0"); }
| lines
|
{ result->add_state("0"); };
acceptance_decl: ACC_DEF acc_decl ';'