diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 06:27:49 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 06:27:49 +0000 |
commit | 71f8ca8bc4131a1c3e638a3af7842f4176f1adc2 (patch) | |
tree | 0531ac314ac47c182a4c4aa0108194ebebc868e3 /parse.y | |
parent | 453f64fa477686e6a1accade80d27480a372d948 (diff) |
* parse.y (assoc_list): remove expanded hash literal (no splat).
* lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::EOFError): adapt
to new syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -4326,17 +4326,6 @@ assoc_list : none $$ = dispatch1(assoclist_from_args, $1); %*/ } - | args trailer - { - /*%%%*/ - if (nd_type($1) == NODE_ARRAY && $1->nd_alen%2 != 0) { - yyerror("odd number list for Hash"); - } - $$ = $1; - /*% - $$ = dispatch1(assoclist_from_args, $1); - %*/ - } ; assocs : assoc |