summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-29 06:27:49 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-29 06:27:49 +0000
commit71f8ca8bc4131a1c3e638a3af7842f4176f1adc2 (patch)
tree0531ac314ac47c182a4c4aa0108194ebebc868e3 /parse.y
parent453f64fa477686e6a1accade80d27480a372d948 (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.y11
1 files changed, 0 insertions, 11 deletions
diff --git a/parse.y b/parse.y
index 51c1b792c5..a76f30d15d 100644
--- a/parse.y
+++ b/parse.y
@@ -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