jv@mh.nl (Johan Vromans) (12/26/89)
I tried to use bison to make perl, only to find out that there are a few basic misunderstandings between Bison, Configure and Me. It appears that selecting 'bison' instead of 'yacc' only changes the commands yacc -d perl.y mv y.tab.c perl.c mv y.tab.h perly.h to bison -d perl.y mv y.tab.c perl.c mv y.tab.h perly.h However, my version of Bison does not generate y.tab.[ch], but generates perl.tab.[ch] files instead. After changing perl.tab.c to perl.c and perl.tab.h to perly.h, perl.c compiles, but I get compilation errors in toke.c: gcc -c -fpcc-struct-return -O toke.c toke.c: In function yylex: toke.c:186: `yylval' undeclared (first use this function) toke.c: In function scanpat: toke.c:1316: `yylval' undeclared (first use this function) toke.c: In function scansubst: toke.c:1424: `yylval' undeclared (first use this function) toke.c: In function scantrans: toke.c:1603: `yylval' undeclared (first use this function) toke.c: In function scanstr: toke.c:1651: `yylval' undeclared (first use this function) Back to yacc again .... Johan -- Johan Vromans jv@mh.nl via internet backbones Multihouse Automatisering bv uucp: ..!{uunet,hp4nl}!mh.nl!jv Doesburgweg 7, 2803 PL Gouda, The Netherlands phone/fax: +31 1820 62944/62500 ------------------------ "Arms are made for hugging" -------------------------
baur@venice.SEDD.TRW.COM (Steven L. Baur) (12/26/89)
From article <JV.89Dec25122855@mhres.mh.nl>, by jv@mh.nl (Johan Vromans): > I tried to use bison to make perl, only to find out that there are a > few basic misunderstandings between Bison, Configure and Me. ... Try "bison -y". -- steve baur@venice.SEDD.TRW.COM A computer which cannot run GNU emacs is not worth using.