Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!motsrd!motcid!mostek From: mostek@motcid.UUCP (Frank B. Mostek) Newsgroups: comp.lang.perl Subject: Re: yacc stack overflow Message-ID: <5964@beryl12.UUCP> Date: 8 Mar 91 15:52:26 GMT References: Organization: Motorola Inc., Cellular Infrastructure Div., Arlington Heights, IL Lines: 22 emv@ox.com (Ed Vielmetti) writes: >what does this error message mean? > smoke >yacc stack overflow in file /u1/emv/bin/smoke at line 238, next token "$verbose" >Execution of /u1/emv/bin/smoke aborted due to compilation errors. >stuff... Change the value of YYMAXDEPTH. I think the default is 150. I can't remember what I changed mine to. Or, you may want to use the __RUNTIME_YYMAXDEPTH option, which allocates stacks at runtime. Or, you can use YYINCREMENT which uses malloc(). Or, forget about the tools and write your own parser from scratch. Have fun :) -- ************************************************************ Frank Mostek uunet!motcid!amethyst!mostek Software Consultant (708)632-7191 ************************************************************