|a question on bison email@example.com (1998-11-19)|
|Re: a question on bison firstname.lastname@example.org (Larry Brasfield) (1998-11-21)|
|From:||"Larry Brasfield" <email@example.com>|
|Date:||21 Nov 1998 12:02:54 -0500|
firstname.lastname@example.org wrote in message 98-11-102...
> I am working on MS VC++ on NT and while compiling a very large
>grammar I get the following error:
>"sqlparser.y", line 12054: maximum table size (32767) exceeded
> After doing some research, we found out that in the source code for
>bison v.1.25 there is a #define MAXTABLE 32767 in machine.h. We can
>modify that value, but does anyone now what would the consequences be?
I would look to see where the value is used, and be sure any tables
limited to that size are not addressed by short int's. The limit
probably reflects an assumed int size for the DOS target, making it
safe to change, but I would still check for short's.
>Is there another way to overcome this bison 32K limitation?
Push more of the work into the scanner? You must have one Hell of a
Return to the
Search the comp.compilers archives again.