'yylex' was not declared in this scope, what to do?
Advertisements I try to compile a g++ file within flex & bison C files, but I get the error: ‘yylex’ was not declared in this scope. Same case with ‘yyerror’. I’ve tried to put lines like these in the lexer, in the parser or in the C++ file, without success. extern "C" { int yylex(void);… Read More 'yylex' was not declared in this scope, what to do?