Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!hplabs!hp-sde!hpfcdc!mike From: mike@hpfcdc.HP.COM (Mike McNelly) Newsgroups: comp.unix.questions Subject: Re: yacc limitations Message-ID: <5740029@hpfcdc.HP.COM> Date: 20 Sep 88 16:03:24 GMT References: <3617@metavax.UUCP> Organization: HP Ft. Collins, Co. Lines: 16 > I am trying to expand an already large yacc grammar. Unfortunately, > I have hit a limit on the number of terminal tokens. Does anybody > know a way around this? On VAX Ultrix the default limit appears to > be 127 as shown in the following excerpt from the y.output file. > This also appears to be the limit on HP, but Pyramid allows for up to > 600 terminals. Can I either increase or bypass this limit somehow? This limit is usually hard set in the code. Yacc on HP workstations has been modified so that many of the limits are configurable at run time. A few, like the limit on the number of terminals, are still hard coded, but the limits have been bumped up to large values. After release 5.2 (circa 1986) the number of allowed terminals is 2000. Mike McNelly Hewlett Packard Co. hplabs!hpfcla!mike