mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
parent
1a5cac2c6a
commit
cc721a3db6
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ varname [a-zA-Z0-9_\"]+
|
|||
[\r\n]+ { if (prev_yylex != TOKEN_EOL) YYLEX(TOKEN_EOL); }
|
||||
[ \t] { ; }
|
||||
|
||||
[0-9]+ {
|
||||
[0-9^`]+ {
|
||||
char* p = nullptr;
|
||||
yylval.s.val.intValue = std::strtol(yytext, &p, 10);
|
||||
YYLEX(TOKEN_INTEGER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue