mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Modify handling of bodystmt.
This commit is contained in:
+1
-1
@@ -1050,7 +1050,7 @@ bodystmt : compstmt
|
||||
}
|
||||
else if ($3) {
|
||||
yywarn(p, "else without rescue is useless");
|
||||
$$ = append($$, $3);
|
||||
$$ = push($1, $3);
|
||||
}
|
||||
else {
|
||||
$$ = $1;
|
||||
|
||||
Reference in New Issue
Block a user