flex++ & bison++

Nicholas Kirsch <nick@kirsch.org>
20 Jul 1998 17:03:13 -0400

          From comp.compilers

Related articles
flex++ & bison++ nick@kirsch.org (Nicholas Kirsch) (1998-07-20)
Re: flex++ & bison++ acoetmeur@icdc.caissedesdepots.fr (Alain Coetmeur) (1998-07-27)
flex++ & bison++ htw5586@informatik.htw-dresden.de (htw5586) (1999-08-04)
Re: flex++ & bison++ mst@microsoft.com (John Smith) (1999-09-06)
| List of all articles for this month |

From: Nicholas Kirsch <nick@kirsch.org>
Newsgroups: comp.compilers
Date: 20 Jul 1998 17:03:13 -0400
Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here
Keywords: C++, lex, yacc

I am using flex ++ & bison ++ made by Alain Coetmeur (coetmeur@icdc.fr)
and running into problems. I have a legimate grammar that compiled and
execute just fine under flex and bison, called dialog.l & dialog.y.


I run these commands.


flex++ dialog.l (generates lex.yy.c)
bison++ -d dialog.y (generates dialog.tab.c & dialog.tab.h)


I then compile with g++ like so :


g++ dialog.tab.c lex.yy.c


The result is that I get an undefined reference to `parse virtual table`


I have read the man pages for both, and found no useful information. I
know that with flex I previously had to compile with -lfl to link in the
flex libraries, but this doesn't work with these tools.


Any suggestions?


Please cc to nick@kirsch.org


Nicholas Kirsch
nick@kirsch.org
--


Post a followup to this message

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