Fix flex build error

This commit is contained in:
Josh Holtrop 2026-06-15 08:20:14 -04:00
parent ede4f6235a
commit acfb883f66
3 changed files with 1 additions and 6 deletions

View File

@ -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")

View File

@ -1,5 +1,6 @@
%option nounput
%option noyywrap
%option bison-locations
%{

View File

@ -19,11 +19,6 @@ extern FILE * yyin;
void errFunc(const char * str, YYLTYPE * yyllocp);
int yywrap()
{
return 1;
}
static refptr<Node> parsed_scene_node;
refptr<Scope> parser_scope;