* src/ltlparse/ltlparse.yy (parse_ratexp): New function. (START_LTL, START_RATEXP): Add these new tokens. (result): Parse and LTL formula or a rational expression depending on the start symbol. * src/ltlparse/public.hh (parse_ratexp): New function. * src/ltlparse/parsedecl.hh (flex_set_buffer): Add a new argument to set the starting rule. * src/ltlparse/ltlscan.ll (flex_set_buffer): Adjust. (start_token): New global variable. Return this as first token if it is set. |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| .gitignore | ||
| fmterror.cc | ||
| ltlfile.cc | ||
| ltlfile.hh | ||
| ltlparse.yy | ||
| ltlscan.ll | ||
| Makefile.am | ||
| parsedecl.hh | ||
| public.hh | ||