aboutsummaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
authorShinya Sato <shinnya.sato@gmail.com>2024-02-14 21:16:42 +0900
committerShinya Sato <shinnya.sato@gmail.com>2024-02-14 21:16:42 +0900
commite813c7b6903feb2afa106cd0cf9732fc19b363f2 (patch)
treeee5d8eb5772d1514baa555b2756cb916a4841aa3 /src/lex.l
parent02f8bc24de87c059bfcacf5d0279c2653ba4a1cc (diff)
downloadinpla-e813c7b6903feb2afa106cd0cf9732fc19b363f2.tar.gz
inpla-e813c7b6903feb2afa106cd0cf9732fc19b363f2.zip
v0.11.1
Diffstat (limited to 'src/lex.l')
-rw-r--r--src/lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lex.l b/src/lex.l
index 6c90969..1bdb1ce 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -142,7 +142,7 @@ char *Parse_closeStringBuffer() {
<INITIAL>[A-Z][a-zA-Z0-9_'\.]* { yylval.chval = strdup(yytext);
return (AGENT);}
<INITIAL>[0-9]+ { yylval.longval = atol(yytext);
- return (INT_LITERAL);}
+ return (NUMERAL_LITERAL);}
<INITIAL>"//"[^\n]* ; //comment
<INITIAL>"/*" BEGIN(COM_STATE);