summaryrefslogtreecommitdiff
path: root/lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'lex.l')
-rw-r--r--lex.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/lex.l b/lex.l
index 5bfc7a4..432ad53 100644
--- a/lex.l
+++ b/lex.l
@@ -14,7 +14,7 @@ void yyerror(const char *s, ...);
char *str_value(char *s) {
s++;
- /* TODO: strdup allocates memory! */
+ /* FIXME: strdup allocates memory! */
char *ret = strdup(s);
ret[strlen(s) - 2] = 0;
@@ -40,7 +40,7 @@ INT [+-]?[0-9]+
{STRING} { yylval.s = str_value(yytext); return STRING; }
-{ID} { /* TODO: strdup allocates memory! */
+{ID} { /* FIXME: strdup allocates memory! */
yylval.s = strdup(yytext); return ID; }
{INT} { yylval.i = atoi(yytext); return INT; }