Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.jpl.nasa.gov (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: yacc stack overflow Message-ID: <1991Mar17.063524.19401@jpl-devvax.jpl.nasa.gov> Date: 17 Mar 91 06:35:24 GMT References: <1991Mar13.012932.1710@NCoast.ORG> <21877@yunexus.YorkU.CA> <1991Mar14.080812.19719@robobar.co.uk> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 26 In article <1991Mar14.080812.19719@robobar.co.uk> ronald@robobar.co.uk (Ronald S H Khoo) writes: : oz@yunexus.yorku.ca (Ozan Yigit) writes: : : > allbery@ncoast.ORG (Brandon S. Allbery KB8JRR) writes: : > >Yacc is one of those utilities with an arbitrary, compiled-in limit ... : > : > Does that limit exist on PD byacc? [berkeley yacc] If not, maybe you : > would be better off using that one. : : I quote from /usr/local/src/perl/perl.c: : ... : if (yyssp >= yyss + yystacksize - 1) : { : goto yyoverflow; : } : [...] : yyoverflow: : yyerror("yacc stack overflow"); : : So it looks like that's the case too. Ho hum. If someone wants to modify the perly.fixer script I just sent out to fix this yaccpar too, I'll be glad to include it. Larry