discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problems with Objective-C and Bison in GMUmakefile


From: Larry Campbell
Subject: Re: Problems with Objective-C and Bison in GMUmakefile
Date: Fri, 20 Jan 2006 11:27:00 -0500

You might want to try lemon (http://www.hwaci.com/sw/lemon/). It's much better than bison (it's reëntrant, for one thing) and works perfectly with Objective-C.

- lc

On Jan 6, 2006, at 3:10 AM, Andreas Schik wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nate,

On 2006-01-05 20:00:39 +0100 Nate Smith <nathan.smith@nist.gov> 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
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep





reply via email to

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