help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Evan Carew
Subject: C parser Can't be Linked to C++ Driver
Date: Mon, 07 Sep 2009 19:42:07 -0400
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)

-----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 having trouble getting my
linker to recognize the yyparse() function found in my parser.tab.c
file. This is rather embarrassing as it shouldn't be a problem. I can
see the stupid symbol in the nm listing for the parser object file,
but I can't seem to get g++ to accept it. <sigh>.

If anyone has gotten past this issue, I'd appreciate a pointer so I
can get past my senior moment.

Thanks,
Evan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFKpZpPpxCQXwV2bJARAjj9AJ97rKI7BtL6ocX+0hqW6C5tpqS/CACfRd/j
5ZwSumiIQ6t9z6Pu8B5QcyM=
=NTZm
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]