Commit ebdb8e98 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #749 from masamitsu-murase/modify_handling_of_bodystmt

Modify handling of `bodystmt`.
parents f53d5ee7 457f4ddc
...@@ -1050,7 +1050,7 @@ bodystmt : compstmt ...@@ -1050,7 +1050,7 @@ bodystmt : compstmt
} }
else if ($3) { else if ($3) {
yywarn(p, "else without rescue is useless"); yywarn(p, "else without rescue is useless");
$$ = append($$, $3); $$ = push($1, $3);
} }
else { else {
$$ = $1; $$ = $1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment