Return from recursive processing is incomplete

2009-09-05 Thread Evan Carew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm working with Bison 2.0 on linux and am having trouble getting all of the output from a recursive call to a rule. I have input a piece of C code which represents an enum into a lexer designed for C and a bison rule set designed for C as well. I was

Re: Return from recursive processing is incomplete

2009-09-07 Thread Evan Carew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phil, Thanks for the assist. I have a feeling that this will allow me to continue my research with bison. Philip Herron wrote: > Took me a few times to read your mail to see what you meant :P. So let > me know if i am wrong i but, you want to unders

Re: Return from recursive processing is incomplete

2009-09-07 Thread Evan Carew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phil, Try going to Safari books on-line. They usually have all of O'Reilly's books available for on-line viewing. I live in the US and have the O'Reilly books handy in physical form, but still use the online bookshelf Safari offers simply because it m

C parser Can't be Linked to C++ Driver

2009-09-07 Thread Evan Carew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying something not found in any of the manuals or the O'Reilly books. I'm trying to create a C lexer and parser (mainly because C++ isn't really supported all that well yet), then link them in with my C++ driver routine. My problem is that I am h

Re: C parser Can't be Linked to C++ Driver

2009-09-07 Thread Evan Carew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Yep, that's it. Sometimes you need someone to dope slap you. extern "C" { extern int yyparse( ); } Evan Chris verBurg wrote: > > In the C++ code, have you tried declaring yyparse as "extern C int yyparse();" so that it doesn't try to mangle