Merge pull request #749 from masamitsu-murase/modify_handling_of_bodystmt

Modify handling of `bodystmt`.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-01-20 14:19:28 -08:00
+1 -1
View File
@@ -1050,7 +1050,7 @@ bodystmt : compstmt
}
else if ($3) {
yywarn(p, "else without rescue is useless");
$$ = append($$, $3);
$$ = push($1, $3);
}
else {
$$ = $1;