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.

Attachment: 0002-skeletons-simplify-the-protections-against-unused-wa.patch
Description: Binary data

Reply via email to