From 46e8ae110469cc8da8d1aad01dec7cd0a83eaae1 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 8 Jun 2001 14:20:58 +0000 Subject: * gc.c (Init_stack): avoid __builtin_frame_address(2) to retrieve stack bottom line. * st.c (numhash): should shuffle bits by dividing by prime number. * eval.c (rb_eval): multiple assignment behavior fixed, which results "*a = nil" makes "a == []" now. * eval.c (rb_f_require): should set SCOPE_PUBLIC before calling dln_load(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index e74da582c0..144a7ce295 100644 --- a/parse.y +++ b/parse.y @@ -426,9 +426,6 @@ stmt : kALIAS fitem {lex_state = EXPR_FNAME;} fitem } | lhs '=' mrhs_basic { - if (nd_type($3) == NODE_RESTARGS) { - nd_set_type($3, NODE_REXPAND); - } $$ = node_assign($1, $3); } | mlhs '=' mrhs @@ -954,7 +951,7 @@ aref_args : none | tSTAR arg opt_nl { value_expr($2); - $$ = NEW_RESTARGS($2); + $$ = NEW_RESTARY($2); } paren_args : '(' none ')' @@ -1150,7 +1147,7 @@ mrhs_basic : args ',' arg | tSTAR arg { value_expr($2); - $$ = NEW_RESTARGS($2); + $$ = NEW_REXPAND($2); } primary : literal -- cgit v1.2.3