Allow neverclaim guards of the form !(x)' or ! (x)'.
* src/neverparse/neverclaimscan.ll: Make the space between `!' and
`(' optional. This fixes the patch from 2011-02-07 that made this
space mandatory...
* src/tgbatest/neverclaimread.test: Augment test case.
This commit is contained in:
parent
2422b63a36
commit
9130d6f58c
3 changed files with 12 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ eol \n|\r|\n\r|\r\n
|
|||
"goto" return token::GOTO;
|
||||
"false"|"0" return token::FALSE;
|
||||
|
||||
("!"[ \t]+)?"(".*")"|"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