Identifers include _ and $ characters.
This commit is contained in:
parent
d92e7d904f
commit
6416a799c9
|
|
@ -65,7 +65,7 @@ static int yywrap(void)
|
||||||
return REAL_NUMBER;
|
return REAL_NUMBER;
|
||||||
}
|
}
|
||||||
|
|
||||||
[a-zA-Z][a-zA-Z0-9]* {
|
[a-zA-Z_][a-zA-Z0-9$_]* {
|
||||||
return lookup_keyword(yytext);
|
return lookup_keyword(yytext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue