Commit f0766e36 authored by Takashi Sogabe's avatar Takashi Sogabe

Fix disappearance of command_call in case of statement without parentheses.

parent 98d364e4
...@@ -1126,7 +1126,7 @@ stmt : keyword_alias fsym {p->lstate = EXPR_FNAME;} fsym ...@@ -1126,7 +1126,7 @@ stmt : keyword_alias fsym {p->lstate = EXPR_FNAME;} fsym
| command_asgn | command_asgn
| mlhs '=' command_call | mlhs '=' command_call
{ {
$$ = new_masgn(p, $1, list1($3)); $$ = new_masgn(p, $1, $3);
} }
| var_lhs tOP_ASGN command_call | var_lhs tOP_ASGN command_call
{ {
......
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