resolved two compiler warnings

This commit is contained in:
Aaro Koivukangas
2024-08-16 14:48:14 +02:00
parent 67992d8b52
commit c7795bb0e4
+3
View File
@@ -10,6 +10,9 @@ char* copy_yytext(char* orig);
%}
%option yylineno
/* https://stackoverflow.com/questions/39075510/option-noinput-nounput-what-are-they-for */
%option nounput
%option noinput
%%
;.*$ { yylval.name = copy_yytext(yytext); return TOKEN_COMMENT; }