зеркало из https://github.com/github/ruby.git
* parse.y (f_marg): wrap f_norm_arg assignment node with NODE_LIST.
[ruby-dev:31141] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
56fe47de3a
Коммит
c512a69a2d
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Jul 6 14:35:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* parse.y (f_marg): wrap f_norm_arg assignment node with NODE_LIST.
|
||||||
|
[ruby-dev:31141]
|
||||||
|
|
||||||
Fri Jul 6 12:15:01 2007 Tanaka Akira <akr@fsij.org>
|
Fri Jul 6 12:15:01 2007 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* test/ruby/sentgen.rb: new file.
|
* test/ruby/sentgen.rb: new file.
|
||||||
|
|
2
parse.y
2
parse.y
|
@ -2995,7 +2995,7 @@ for_var : lhs
|
||||||
f_marg : f_norm_arg
|
f_marg : f_norm_arg
|
||||||
{
|
{
|
||||||
/*%%%*/
|
/*%%%*/
|
||||||
$$ = assignable($1, 0);
|
$$ = NEW_LIST(assignable($1, 0));
|
||||||
/*%
|
/*%
|
||||||
$$ = dispatch1(mlhs_paren, $1);
|
$$ = dispatch1(mlhs_paren, $1);
|
||||||
%*/
|
%*/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче