I need to use a flex++ generated parser code in my Qt application. I got this error:
undefined reference to `yyFlexLexer::yywrap()
I also added this line to .pro file:
LIBS += -lfl
I need to use a flex++ generated parser code in my Qt application. I got this error:
undefined reference to `yyFlexLexer::yywrap()
I also added this line to .pro file:
LIBS += -lfl
What you are searching for is a simple
%option noyywrap
in the Options section
%{
DECLARATION
%}
OPTIONS
%%
RULES
%%
MISC. C IMPLEMENTATION
and maby you want to add these as well:
%option nounistd
%option never-interactive