diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-20 16:22:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-20 16:22:23 +0000 |
commit | dbdd56faf8304da995562ed9939f441e51323504 (patch) | |
tree | 3f54921cdc6233a2b0442f11818063b51c1fc2d5 /parse.y | |
parent | 15ac468a2454c41d4917fe463a496949eae8f961 (diff) |
* parse.y (bodystmt): ensure clause was excuted on else clause
without rescue clase.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -309,7 +309,7 @@ bodystmt : compstmt } else if ($3) { rb_warn("else without rescue is useless"); - $$ = block_append($$, $4); + $$ = block_append($$, $3); } if ($4) { $$ = NEW_ENSURE($$, $4); |