Text alias for number 2.
This commit is contained in:
parent
298f2b115c
commit
d86f72eec3
|
@ -149,6 +149,11 @@ CHAR [a-zA-Z_]
|
||||||
|
|
||||||
[ \t\f\v] {}
|
[ \t\f\v] {}
|
||||||
|
|
||||||
|
"due" {
|
||||||
|
yylval.intval = 2;
|
||||||
|
return NUMBER;
|
||||||
|
}
|
||||||
|
|
||||||
{CHAR}({DIGIT}|{CHAR})* {
|
{CHAR}({DIGIT}|{CHAR})* {
|
||||||
yylval.strval = strdup(yytext);
|
yylval.strval = strdup(yytext);
|
||||||
return ID;
|
return ID;
|
||||||
|
|
Reference in New Issue
Block a user