yacc
Michael Haberler
mah at hpuviea.UUCP
Wed Nov 23 18:55:42 AEST 1988
>From article <5740033 at hpfcdc.HP.COM>, by mike at hpfcdc.HP.COM (Mike McNelly):
>> 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?
>> If so, how do I do it? The documentation I've been able to get my
>> hands on says nothing about the number of states.
>
> Unless you have access to the source code for yacc, the state limit is a
> hard one. Yacc does not have dymanically allocated arays for its
Why not just forget about Yacc and use Bison, a Free Software Foundation
replacement for Yacc? Browse through your next comp.sources.unix archive
and you might be able to find it. I got it to work on a PC; it does the
complete Ada grammar in under 2 minutes on an AT. And this one sure has
a substantial number of states.
-michael
--
Michael Haberler mah at hpuviea.at
Hewlett-Packard Austria GmbH, ...mcvax!tuvie!hpuviea!mah
Lieblgasse 1 ...hplabs!hpfcla!hpbbn!hpuviea!mah
A-1220 Vienna, Austria Tel: (0043) (222) 2500 x412 (9-18 CET)
More information about the Comp.unix.questions
mailing list