mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
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.
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,13 @@
|
||||
2009-08-29 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
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.
|
||||
|
||||
2009-08-28 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
%define: accept unquoted values.
|
||||
|
||||
@@ -134,7 +134,7 @@ void code_props_symbol_action_init (code_props *self, char const *code,
|
||||
*/
|
||||
void code_props_rule_action_init (code_props *self, char const *code,
|
||||
location code_loc, struct symbol_list *rule,
|
||||
named_ref *named_ref);
|
||||
named_ref *name);
|
||||
|
||||
/**
|
||||
* \pre
|
||||
|
||||
Reference in New Issue
Block a user