diff --git a/Rsconscript b/Rsconscript index d7fa7d2..38de147 100644 --- a/Rsconscript +++ b/Rsconscript @@ -8,7 +8,6 @@ end env do |env| env["CCFLAGS"] += %w[-Wall -O2] env["CPPPATH"] += glob("src/**") - env["LIBS"] += %w[fl] env.CFile("^/parser/lexer.cc", "src/parser/parser.ll") env.CFile("^/parser/parser.cc", "src/parser/parser.yy") diff --git a/src/parser/parser.ll b/src/parser/parser.ll index 261583b..ffe0e36 100644 --- a/src/parser/parser.ll +++ b/src/parser/parser.ll @@ -1,5 +1,6 @@ %option nounput +%option noyywrap %option bison-locations %{ diff --git a/src/parser/parser.yy b/src/parser/parser.yy index 779f6c8..02b6327 100644 --- a/src/parser/parser.yy +++ b/src/parser/parser.yy @@ -19,11 +19,6 @@ extern FILE * yyin; void errFunc(const char * str, YYLTYPE * yyllocp); -int yywrap() -{ - return 1; -} - static refptr parsed_scene_node; refptr parser_scope;