bug-bison
[Top][All Lists]
Advanced

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

Re: M4, "[", and %destructor


From: Paul Eggert
Subject: Re: M4, "[", and %destructor
Date: Tue, 26 Jul 2005 13:55:46 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"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:

http://www.cs.ucla.edu/~eggert/bison/bison-2.0b.tar.gz

I've asked the GNU FTP upload gurus to copy it to here, but it's not
there yet:

ftp://alpha.gnu.org/gnu/bison/bison-2.0b.tar.gz

Here is the MD5 checksum:

47e84c977910be6e136ee6b4bf4967c7  bison-2.0b.tar.gz




reply via email to

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