mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix build on Windows
* parse.y (new_cdecl_gen): Rename local variable name from cdecl to nd_cdecl. We can not use cdecl on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a9f5b84010
commit
1d80b1926c
1 changed files with 3 additions and 3 deletions
6
parse.y
6
parse.y
|
@ -9447,9 +9447,9 @@ new_postarg_gen(struct parser_params *parser, NODE *i, NODE *v, int column)
|
|||
static NODE *
|
||||
new_cdecl_gen(struct parser_params *parser, ID v, NODE *val, NODE *path, int column)
|
||||
{
|
||||
NODE *cdecl = NEW_CDECL(v, val, path);
|
||||
nd_set_column(cdecl, column);
|
||||
return cdecl;
|
||||
NODE *nd_cdecl = NEW_CDECL(v, val, path);
|
||||
nd_set_column(nd_cdecl, column);
|
||||
return nd_cdecl;
|
||||
}
|
||||
|
||||
static NODE *
|
||||
|
|
Loading…
Reference in a new issue