bug-bison
[Top][All Lists]
Advanced

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

Re: Bison version 1.875e available for testing


From: Frank Heckenbach
Subject: Re: Bison version 1.875e available for testing
Date: Sat, 11 Dec 2004 12:57:54 +0100
User-agent: semail 20041018

Paul Eggert wrote:

> Bison test version 1.875e is now available.  It contains mostly bug
> fixes from the previous test version.  Our intention is to generate a
> new official release soon, based on feedback from this test version.

The version contains the problem I reported here 2004-11-19 which
Akim Demaille promised to revert:

: In the current version of
: <http://www.lrde.epita.fr/~akim/download/bison-1.875e.tar.bz2>, I
: see that you # undef YYRHSLOC right after its use in glr.c.
:
: I'm not sure this is a good idea. In my code, I prefer to put the
: main work of YYLLOC_DEFAULT into a function since its a bit longish
: (and runtime of the function call doesn't seem to be an issue). The
: new change breaks this since my YYLLOC_DEFAULT macro just expands to
: a function call, and the function body is outside the places where
: YYRHSLOC is defined.
:
: Any chance to undo this change, or another suggestion how to solve
: my problem?

Even worse, glr.c now contains two incompatible definitions of
YYLLOC_DEFAULT. This is bad news since it means that location
handling can't be put into a function AFAICS, and putting longish
code into a macro is bad for various reasons as you probably know.

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]