Modify handling of bodystmt.

This commit is contained in:
Masamitsu MURASE
2013-01-17 02:59:33 +09:00
parent 583983385b
commit 457f4ddca5
+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;