diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-18 08:47:10 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-18 08:47:10 +0000 |
commit | 4378cbc0235e20ccee5ecb7d8a0e3b95c418e43d (patch) | |
tree | 5d54b445cb0d0425aadea20afc24dbb0a4535ce0 /parse.y | |
parent | bbf2ad4ed8a142c5fba8b5e56293006b359f9b18 (diff) | |
download | ruby-4378cbc0235e20ccee5ecb7d8a0e3b95c418e43d.tar.gz |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1507,7 +1507,11 @@ rescue : kRESCUE exc_list exc_var then ensure : none | kENSURE compstmt { - $$ = $2; + if ($2) + $$ = $2; + else + /* place holder */ + $$ = NEW_NIL(); } literal : numeric |