diff options
author | Akim Demaille <demaille@gostai.com> | 2012-02-09 14:02:22 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-02-10 09:17:44 +0100 |
commit | beadb220d541df706f9e27997c3942433550620c (patch) | |
tree | 5f1865a3849b1dc2a9af6a93c61c3eaef6c30b01 /tests/local.mk | |
parent | f86a7807856ff90a0d4bd25473544121821b9c19 (diff) | |
download | bison-beadb220d541df706f9e27997c3942433550620c.tar.gz |
skeletons: simplify the protections against "unused" warnings.
* data/c.m4 (b4_parse_param_use): Also accept optional arguments
to "use".
Simplify callers.
* data/glr.c (yyuserAction): Simplify use of b4_parse_param_use.
(yy_reduce_print): Don't use b4_parse_param_use, as all the arguments
_are_ used.
* data/lalr1.cc (YY_SYMBOL_PRINT): Even when disabled, "use" the
symbol argument.
This neutralizes a warning in yypush_ when there are no symbols
with a semantic values.
(yy_destroy_): Remove useless "use" of yymsg.
Diffstat (limited to 'tests/local.mk')
0 files changed, 0 insertions, 0 deletions