[Top][All Lists]

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

Re: strange K&R expansion of yyparse()

From: Paul Eggert
Subject: Re: strange K&R expansion of yyparse()
Date: Tue, 09 May 2006 00:07:24 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Anthony Heading <address@hidden> writes:

>       int
>       yyparse ()
>           ;           <==========  should this semicolon be here?

No.  Thanks for reporting it.  That bug is fixed in the latest
test version of Bison <ftp://alpha.gnu.org/gnu/bison/bison-2.1a.tar.gz>
and the fix should appear in the next stable release.

> (As a sidenote, I was a bit surprised to see that this was falling through
> a K&R code path using Microsoft's latest compiler!

We have a workaround for this in 2.1a as well.

> Given it's 2006, should K&R support maybe not be relegated to
> a special YY_ANCIENT_KR_COMPILER type of symbol?)

Maybe after 2.2 comes out; I don't want to jinx things by making
changes now.

> This communication is for informational purposes only.

It would help the rest of us a bit if you found a more congenial place
to send public email from, one that doesn't append time-wasting (and
inadvertently hilarious) disclaimers like that.

reply via email to

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