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