|FlexLexer and bison together... firstname.lastname@example.org (1999-02-24)|
|Date:||24 Feb 1999 12:25:04 -0500|
|Organization:||Deja News - The Leader in Internet Discussion|
|Keywords:||lex, yacc, C++|
Does anyone have trouble creating a parser with flex and FlexLexer.h together
with a 'regular' grammar file from bison. When I link the two files in Visual
C++ 60 I get a linker error that the bison obj file can not find yylex??? Is
there a way to re-define yylex so the bison part actually recognizes the
wrapper classes in FlexLexer.h???? Do I need to write my own parser wrapper
Appreciate any suggestions!
Return to the
Search the comp.compilers archives again.