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.
This commit is contained in:
parent
0568eaf0ee
commit
8b06edbc3b
3 changed files with 9 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue