mirror of
https://github.com/iritmaximus/ttk91-compiler.git
synced 2026-10-12 19:13:40 +03:00
resolved two compiler warnings
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user