Fix gcc 3.4.4 shadowing warning reported by Eric Blake.
authorJoel E. Denny <jdenny@clemson.edu>
Sat, 29 Aug 2009 20:25:58 +0000 (16:25 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Sat, 29 Aug 2009 20:31:10 +0000 (16:31 -0400)
commit9852b61c2b87f619117e4a170c7c34b29a8afc59
tree3ec9a23d480eafdcab022219a1eee46fb48fe67b
parent5bf2bf7a6d1e6b3df0f82753c6f140b85fe02bf7
Fix gcc 3.4.4 shadowing warning reported by Eric Blake.

See
<http://lists.gnu.org/archive/html/bison-patches/2009-08/msg00093.html>.
* src/scan-code.h (code_props_rule_action_init): Rename
named_ref arg to name so it doesn't shadow named_ref type.  This
makes it consistent with the function definition in scan-code.l
anyway.
(cherry picked from commit 2646cd540bfdd35f457e0e0a1bcc5f9b26a96849)
ChangeLog
src/scan-code.h