Path: utzoo!attcan!uunet!mcvax!enea!kth!osiris!uplog!thomas From: thomas@uplog.se (Thomas Hameenaho) Newsgroups: comp.unix.questions Subject: Re: yacc Keywords: yacc, states Message-ID: <340@uplog.se> Date: 21 Nov 88 14:32:25 GMT References: <895@ncrcce.StPaul.NCR.COM> Reply-To: thomas@uplog.UUCP (Thomas Hameenaho) Organization: TeleLOGIC Uppsala AB Lines: 17 In article <895@ncrcce.StPaul.NCR.COM> John.Cavanaugh@StPaul.NCR.COM (John David Cavanaugh) writes: >I recently made a change to one of the yacc grammar definitions (the >.y file), and when I run yacc, I get a message saying, "fatal error: >too many states." When I run yacc with -v on a slightly simplified >.y file, it tells me that it is defining 748 of 750 states. > >My question is: is there any way I can increase the number of states? Not without recompiling yacc. -- Real life: Thomas Hameenaho Email: thomas@uplog.{se,uucp} Snail mail: TeleLOGIC Uppsala AB Phone: +46 18 189406 Box 1218 Fax: +46 18 132039 S - 751 42 Uppsala, Sweden