Text alias for number 2.

This commit is contained in:
Stefano Sanfilippo 2014-11-23 20:44:16 +01:00
parent 298f2b115c
commit d86f72eec3

View File

@ -149,6 +149,11 @@ CHAR [a-zA-Z_]
[ \t\f\v] {}
"due" {
yylval.intval = 2;
return NUMBER;
}
{CHAR}({DIGIT}|{CHAR})* {
yylval.strval = strdup(yytext);
return ID;