bison-patches
[Top][All Lists]
Advanced

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

Re: master: skeletons: simplify the protections against "unused" warning


From: Akim Demaille
Subject: Re: master: skeletons: simplify the protections against "unused" warnings
Date: Sat, 11 Feb 2012 14:48:49 +0100

Le 9 févr. 2012 à 15:04, Akim Demaille a écrit :

> This was prompted by warnings I had in a C++ parser.
> The code was too hairy.  For a while I had considered
> changing the !YYDEBUG definition of YY_SYMBOL_PRINT
> so that it would YYUSE all the arguments, instead of
> just throwing them anyway – this allowed the removal
> of a couple of YYUSE.  But I preferred this solution,
> just in case someone would pass one day a complex
> expression to YY_SYMBOL_PRINT and expect it to be
> truly discarded when !YYDEBUG.

Installed in master only.


reply via email to

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