[Top][All Lists]

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

Re: undefining YYRHSLOC

From: Akim Demaille
Subject: Re: undefining YYRHSLOC
Date: Fri, 19 Nov 2004 06:09:52 +0100

Le 19 nov. 04, à 03:01, Frank Heckenbach a écrit :

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?

Sorry, I'll revert this.

reply via email to

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