diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-20 14:19:28 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-20 14:19:28 -0800 |
| commit | ebdb8e985db5afab8f1fe22c53dfe2cf6a9ce7e3 (patch) | |
| tree | e0ab920598af61641df884a0c2eb651f9bbd0294 /src/parse.y | |
| parent | f53d5ee73c9da4c1296df640a3563cd5f42673b1 (diff) | |
| parent | 457f4ddca5f9a814d707e56888ddc8f768a119ab (diff) | |
| download | mruby-ebdb8e985db5afab8f1fe22c53dfe2cf6a9ce7e3.tar.gz mruby-ebdb8e985db5afab8f1fe22c53dfe2cf6a9ce7e3.zip | |
Merge pull request #749 from masamitsu-murase/modify_handling_of_bodystmt
Modify handling of `bodystmt`.
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y index 403db1cc8..a9201a79b 100644 --- a/src/parse.y +++ b/src/parse.y @@ -1050,7 +1050,7 @@ bodystmt : compstmt } else if ($3) { yywarn(p, "else without rescue is useless"); - $$ = append($$, $3); + $$ = push($1, $3); } else { $$ = $1; |
