summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTakashi Sogabe <[email protected]>2013-01-16 14:43:37 +0900
committerTakashi Sogabe <[email protected]>2013-01-16 14:43:37 +0900
commitf0766e363202f954d91482abbee4e84d345bbbbd (patch)
tree6bc56e8c9fcb189a41effd46a89028386a9b88a3 /src
parent98d364e4a692b942d71cb976c034ccaaa6479afc (diff)
downloadmruby-f0766e363202f954d91482abbee4e84d345bbbbd.tar.gz
mruby-f0766e363202f954d91482abbee4e84d345bbbbd.zip
Fix disappearance of command_call in case of statement without parentheses.
Diffstat (limited to 'src')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index 369634e0c..403db1cc8 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -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
{