bug-bison
[Top][All Lists]
Advanced

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

undefining YYRHSLOC


From: Frank Heckenbach
Subject: undefining YYRHSLOC
Date: Fri, 19 Nov 2004 03:01:31 +0100
User-agent: semail 20041018

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?

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]