allow '-' in identifiers
This commit is contained in:
parent
c0f1e3ae66
commit
e974208068
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ int yylineno = 1;
|
|||
real [-0-9][0-9]*\.[0-9]+
|
||||
integer [-0-9][0-9]*
|
||||
string \"[^"\n]*\"
|
||||
identifier [a-zA-Z][.a-zA-Z0-9]*
|
||||
identifier [a-zA-Z][-.a-zA-Z0-9]*
|
||||
bool ([tT][rR][uU][eE]|[fF][aA][lL][sS][eE]|[yY][eE][sS]|[nN][oO]|[oO][nN]|[oO][fF][fF])
|
||||
|
||||
%%
|
||||
|
|
Loading…
Reference in a new issue