diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-06 10:27:59 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-06 10:27:59 +0000 |
commit | 862e723d03878cd7a3b2ad72cb99302084db8a71 (patch) | |
tree | 2793f32bf0c30b0d70dad35298fcafc8dbe64b22 /parse.y | |
parent | 2ec88c167b2dd0e3c13a77dadb9518f8d06d0c59 (diff) | |
download | ruby-862e723d03878cd7a3b2ad72cb99302084db8a71.tar.gz |
* eval.c (svalue_to_avalue): need to splat but no error.
* eval.c: new macros - YIELD_CALL, YIELD_VALUES.
* eval.c (rb_yield_values): specify YIELD_VALUES.
* eval.c (rb_yield_0): use new macros.
* eval.c (proc_invoke): slightly modified to separate YIELD_CALL
and YIELD_VALUES from YIELD_ARY_ARGS.
* object.c (Init_Object): add nil.to_splat => [].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1006,7 +1006,7 @@ stmt : keyword_alias fitem {lex_state = EXPR_FNAME;} fitem | mlhs '=' arg_value { /*%%%*/ - $1->nd_value = NEW_SPLAT($3); + $1->nd_value = $3; $$ = $1; /*% dispatch2(massign, $1, $3); |