|flex++ bison++ firstname.lastname@example.org (Antonio Bleile) (2001-08-06)|
|Re: flex++ bison++ email@example.com (Antonio Bleile) (2001-08-08)|
|From:||Antonio Bleile <firstname.lastname@example.org>|
|Date:||6 Aug 2001 04:05:56 -0400|
|Organization:||ask - Innovative =?iso-8859-1?Q?Visualisierungsl=F6sungen?= GmbH http: //www.askvisual.de & Technische Universitaet Darmstadt|
|Keywords:||lex, yacc, C++, question|
|Posted-Date:||06 Aug 2001 04:05:55 EDT|
I'm a new subscriber to this newsgroup, so sorry if this might be off
topic (maybe you can suggest more appropriate groups).
I always use bison and flex for my C programs and I don't want to miss
these tools for C++ development. So I downloaded flex++ and bison++.
I found that it behaves very strange (especially under IRIX !!!). I
get segmentation faults and when I debug the program it tells me that
it stopped in a vector->push_back(...) operation (that's code in the
.y file, in the middle of a rule). But that's impossible, because the
program does NOT crash if i remove a certain line of code that is
processed AFTER this whole parsing, thus AFTER the push_back call.
The only explanation to me is a f..... up memory. I'm doing something
wrong with new and delete I guess.
Has somebody experienced these problems? What am I doing wrong? Please
note that this happens on an IRIX machine (O2, newest OS version...).
Best regards and thank you for reading,
Return to the
Search the comp.compilers archives again.