Commit 8b06edbc authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Generalize patch from 2011-02-03 by allowing guards like "! (...)".

* src/neverparse/neverclaimscan.ll: Allow space between ! and (.
* src/tgbatest/neverclaimread.test: Add space for testing.
parent 0568eaf0
2011-02-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Generalize patch from 2011-02-03 by allowing guards like "! (...)".
* src/neverparse/neverclaimscan.ll: Allow space between ! and (.
* src/tgbatest/neverclaimread.test: Add space for testing.
2011-02-06 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Speedup scc_filter on tgba_explicit_number automata.
......
......@@ -56,7 +56,7 @@ eol \n|\r|\n\r|\r\n
"goto" return token::GOTO;
"false"|"0" return token::FALSE;
"!"?"(".*")"|"true"|"1" {
("!"[ \t]+)?"(".*")"|"true"|"1" {
yylval->str = new std::string(yytext, yyleng);
return token::FORMULA;
}
......
......@@ -35,7 +35,7 @@ T1:
if
:: (p1 && (! p0)) -> goto accept_all
:: (p1) -> goto T1
:: !(p1) -> goto T2_init
:: ! (p1) -> goto T2_init
fi;
accept_all:
skip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment