Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!bloom-beacon!bu.edu!nntp-read!jbw From: jbw@bucsf.bu.edu (Joe Wells) Newsgroups: comp.lang.perl Subject: Re: Building perl with bison Message-ID: Date: 5 Mar 90 01:42:01 GMT References: <31299@brunix.UUCP> Sender: news@bu.edu.bu.edu Organization: Boston University Computer Science Department Lines: 19 In-reply-to: twl@cs.brown.edu's message of 2 Mar 90 19:08:23 GMT In article <31299@brunix.UUCP> twl@cs.brown.edu (Ted "Theodore" (W) Leung) writes: [problems using "bison -y" instead of "yacc" when building perl] This is indeed a minor incompatibility between bison and yacc. yacc puts a line of this form in "y.tab.h" which bison does not: extern YYSTYPE yylval; The most portable solution to this that I can see is to add this declaration to each of the files which include the ".h" file generated by yacc: cons.c perly.c str.c toke.c -- Joe Wells jbw%bucsf.bu.edu@cs.bu.edu ...!harvard!bu-cs!bucsf!jbw