From 3380974143d3fdf1721d9e28d6b2d42036f03bd2 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 28 Apr 2012 21:12:05 +0000 Subject: * parse.y (assoc, parser_yylex): add syntax to splat keyword hash. [ruby-core:44591][Feature #6353] * compile.c (compile_array_): generate keyword splat insns. * vm.c (m_core_hash_merge_kwd): merge keyword hash into intermediate hash. leftward argument is prior currently. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/ripper/eventids2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/ripper') diff --git a/ext/ripper/eventids2.c b/ext/ripper/eventids2.c index 18d2d2a28a..faeabd4b65 100644 --- a/ext/ripper/eventids2.c +++ b/ext/ripper/eventids2.c @@ -233,6 +233,7 @@ static const struct token_assoc { {tRPAREN, &ripper_id_rparen}, {tRSHFT, &ripper_id_op}, {tSTAR, &ripper_id_op}, + {tDSTAR, &ripper_id_op}, {tSTRING_BEG, &ripper_id_tstring_beg}, {tSTRING_CONTENT, &ripper_id_tstring_content}, {tSTRING_DBEG, &ripper_id_embexpr_beg}, -- cgit v1.2.1