bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] How do I....


From: Øystein Johansen
Subject: [Bug-gnubg] How do I....
Date: Sat, 25 Sep 2004 22:41:34 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707

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

How do I create external_y.c and external_l.c by using flex and bison?
(I can't use ylwrap on windows, at least I can't use it easily...)

bison -pext -d external_y.y -o external_y.c

(yes, that works now!)

flex -o external_l.c external_l.l

lot's of error messages....
"external_l.c", line 1703: unknown error processing section 1
"external_l.c", line 1704: name defined twice
"external_l.c", line 1705: bad character: #
"external_l.c", line 1705: unknown error processing section 1
"external_l.c", line 1706: name defined twice
"external_l.c", line 1707: name defined twice
"external_l.c", line 1708: bad character: #
"external_l.c", line 1708: unknown error processing section 1
"external_l.c", line 1713: bad character: #
"external_l.c", line 1713: unknown error processing section 1
"external_l.c", line 1713: unknown error processing section 1
"external_l.c", line 1714: name defined twice
"external_l.c", line 1719: bad character: #
"external_l.c", line 1719: unknown error processing section 1
"external_l.l", line 86: name defined twice
"external_l.l", line 87: bad character: {
"external_l.l", line 126: bad character: }
"external_l.l", line 128: name defined twice
"external_l.l", line 129: bad character: {
"external_l.l", line 134: bad character: }
flex: could not create

Any missing options I should give to flex?

- -Øystein

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBVdf86kDTFPhwyqYRAt+gAJ97fDsr4O7fr07NgcYfU/hlW0GLNQCfcYzu
B1eDFP6UnypVlYIpeTJuGK8=
=EPPY
-----END PGP SIGNATURE-----




reply via email to

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