FlexLexer and bison together...

groeneve@my-dejanews.com
24 Feb 1999 12:25:04 -0500

          From comp.compilers

Related articles
FlexLexer and bison together... groeneve@my-dejanews.com (1999-02-24)
| List of all articles for this month |

From: groeneve@my-dejanews.com
Newsgroups: comp.compilers
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
class??


Appreciate any suggestions!
Thanx,
Hans


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.