* src/ltlparse/ltlscan.ll: Allow doubly quoted atomic propositions.
This commit is contained in:
parent
694ce34bc5
commit
d06e09b951
2 changed files with 17 additions and 7 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2003-10-02 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/ltlparse/ltlscan.ll: Allow doubly quoted atomic propositions.
|
||||
|
||||
2003-10-01 Alexandre Duret-Lutz <aduret@src.lip6.fr>
|
||||
|
||||
* iface/gspn/udcsltl.test, iface/gspn/udcseltl.test,
|
||||
|
|
|
|||
|
|
@ -72,6 +72,12 @@ flex_set_buffer(const char *buf)
|
|||
return ATOMIC_PROP;
|
||||
}
|
||||
|
||||
/* Atomic propositions can also be inclosed in double quotes. */
|
||||
\"[^\"]*\" {
|
||||
yylval->str = new std::string(yytext + 1, yyleng - 2);
|
||||
return ATOMIC_PROP;
|
||||
}
|
||||
|
||||
. return *yytext;
|
||||
|
||||
<<EOF>> return END_OF_INPUT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue