-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nate,
On 2006-01-05 20:00:39 +0100 Nate Smith <[EMAIL PROTECTED]> wrote:
In my GNUmakefile I specify a parser, parser.y, that is translated by BISON into parser.c, which is then compiled as a C program. The problem is, parser.y contains Objective-C code, and hence I get pages and pages of errors when parser.c is compiled.
with the call to bison you may want to specify the option - --output-file=parser.m. Thus the output should be recognized as Objective-C. Note that if you are using the -d option to create a header file you will probably need to change this to --defines=parser.h, i.e. specify the name of the header file explicitly. Andreas - -- Mail: aheppel at web dot de Home: http://www.andreasheppel.de PGP Key: http://www.andreasheppel.de/download/andreash.asc Check out Burn.app - the CD burning frontend for GNUstep http://gsburn.sourceforge.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using the GPG bundle for GNUMail iD8DBQFDviXcnK2casKWE5kRAhTqAJ9P3dxY2TE9eD3II1eCaAGZwLUudwCgjVwR zZJWMMW+xy774vM0dbSD7Do= =pRbg -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
