diff options
| author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-08 00:03:02 +0000 |
|---|---|---|
| committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-08 00:03:02 +0000 |
| commit | a6f372d1295a5f6a4afe05097ebe77d41ee82425 (patch) | |
| tree | e160591fa4edc219bdd7e9dfb6a7ded911c134fc /parse.y | |
| parent | 6f33cde636eb88e3e9f3c4f4d436137c52cd4cfb (diff) | |
Omit first argument of NEW_CASE2
* node.h (NEW_CASE2): Omit first argument of NEW_CASE2,
bacause the first argument of NEW_CASE2 is always 0.
* parse.y: Ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2911,7 +2911,7 @@ primary : literal | k_case opt_terms case_body k_end { /*%%%*/ - $$ = NEW_CASE2(0, $3); + $$ = NEW_CASE2($3); nd_set_line($3, $<num>1); nd_set_lineno($$, @1.first_line); nd_set_column($$, @1.first_column); |
