From: David Flanagan Date: 2007-11-15T07:21:37+09:00 Subject: Re: trunk's parse.c fails to compile Charles Oliver Nutter wrote: > Laurent Sansonetti wrote: >> Hi, >> >> I wasn't able to compile trunk using the latest revision, on my >> environment, Mac OS X 10.5 with GNU Bison 2.3. The problem was parse.c >> not being able to compile: > > Ditto for me, but different error: > > bison -o y.tab.c parse.y > parse.y:589: unrecognized: %parse_param > parse.y:589: Skipping to next % > make: *** [parse.c] Error 1 > > - Charlie > And I get yet another error: gcc -g -O2 -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -D_GNU_SOURCE=1 -c parse.c parse.c: In function �yydestruct�: parse.c:4114: error: �parser� undeclared (first use in this function) parse.c:4114: error: (Each undeclared identifier is reported only once parse.c:4114: error: for each function it appears in.) make: *** [parse.o] Error 1 This is on Fedora Core 4 with gcc version 4.0.2 20051125 $ bison --version bison (GNU Bison) 2.0 $ uname -a Linux think 2.6.12-1.1398_FC4 #1 Fri Jul 15 00:52:32 EDT 2005 i686 i686 i386 GNU/Linux My temporary workaround is to change #define YYDEBUG from 1 to 0 at the very top of parse.y David