Fix flex build error
This commit is contained in:
parent
ede4f6235a
commit
acfb883f66
@ -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")
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
|
||||
%option nounput
|
||||
%option noyywrap
|
||||
%option bison-locations
|
||||
|
||||
%{
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user