bug-bison
[Top][All Lists]
Advanced

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

Re: Re: Re: Grammar to large?


From: Frank Heckenbach
Subject: Re: Re: Re: Grammar to large?
Date: Sat, 1 May 2004 21:24:08 +0200
User-agent: semail 20040101

Paul Eggert wrote:

> <address@hidden> writes:
> 
> > Paul Eggert <address@hidden> schrieb am 29.04.2004, 10:46:10:
> >> address@hidden (Michael Meskes) writes:
> >>
> >> No, the problem is here:
> >> 
> >> opt_nowait:    NOWAIT                   { $$ = make_str("nowait); }
> >> 
> >> and Bison assumes the rest of your grammar is in the C string.
> >
> > Thanks a lot. How did you find it that quickly. We spend some time with
> > two people but didn't. Actually this was my first idea too, but I
> > couldn't find it.
>
> Binary search.  It was a pain, which suggests that Bison should report
> this error at line end.

BTW, if you suggested it, you could search for it with this command:

egrep '^([^"]*"[^"]*")*[^"]*"[^"]*$'

(This will fail on quoted `\"', but could be extended ...)

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)




reply via email to

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