[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grammar to large?

From: Paul Eggert
Subject: Re: Grammar to large?
Date: Thu, 29 Apr 2004 01:46:10 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Michael Meskes) writes:

> Since this used to work before I added a few symbols and since this
> grammar already is too large for older bison versions I wonder if it
> hit just another limit.

No, the problem is here:

opt_nowait:    NOWAIT                   { $$ = make_str("nowait); }

and Bison assumes the rest of your grammar is in the C string.

Perhaps Bison should reject strings (and chars) that attempt to cross
line boundaries.  That used to be a GCC extension, but has been
removed recently.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]