diff --git a/src/parser/parser.l b/src/parser/parser.l index c5ae6a0..51e2653 100644 --- a/src/parser/parser.l +++ b/src/parser/parser.l @@ -17,6 +17,8 @@ void handle_loc(const char * input); %} +%option noyywrap + %x str %% diff --git a/src/parser/parser.y b/src/parser/parser.y index 6955e4c..b4e6fac 100644 --- a/src/parser/parser.y +++ b/src/parser/parser.y @@ -461,11 +461,6 @@ static void handle_error(const char * str, const YYLTYPE * yylloc) yylloc->first_column); } -int yywrap(void) -{ - return 1; -} - void parse(const char * filename) { yyin = fopen(filename, "r");