allow '-' in identifiers

This commit is contained in:
Dana Jansens 2003-04-03 22:16:49 +00:00
parent c0f1e3ae66
commit e974208068

View file

@ -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])
%%