1
0
Fork 0
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:
yui-knk 2017-10-21 00:14:32 +00:00
parent a9f5b84010
commit 1d80b1926c

View file

@ -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 *