-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Evan Carew wrote:
> 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.
-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
-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