mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix disappearance of command_call in case of statement without parentheses.
This commit is contained in:
+1
-1
@@ -1126,7 +1126,7 @@ stmt : keyword_alias fsym {p->lstate = EXPR_FNAME;} fsym
|
||||
| command_asgn
|
||||
| mlhs '=' command_call
|
||||
{
|
||||
$$ = new_masgn(p, $1, list1($3));
|
||||
$$ = new_masgn(p, $1, $3);
|
||||
}
|
||||
| var_lhs tOP_ASGN command_call
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user