bug-bison
[Top][All Lists]
Advanced

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

Re: M4, "[", and %destructor


From: Joel E. Denny
Subject: Re: M4, "[", and %destructor
Date: Fri, 29 Jul 2005 00:23:56 -0400 (EDT)

On Tue, 26 Jul 2005, Paul Eggert wrote:

> "Joel E. Denny" <address@hidden> writes:
>
> > For this bison spec:
> >
> >   %union { char * ptr; }
> >   %token <ptr> BRACKET "["
> >   %destructor { delete $$; } BRACKET
> >   %%
> >   start: BRACKET;
> >   %%
> >
> > bison 2.0 fails with:
> >
> >   NONE:0: /usr/local/bin/m4: ERROR: EOF in string
> >   bison: subsidiary program `/usr/local/bin/m4' failed (exit status 1)
>
> Thanks for reporting that.  I think it's fixed in Bison 2.0b, which you
> can get here:

Thanks.  The problem seems fixed for all my test cases.

Joel





reply via email to

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