From f0766e363202f954d91482abbee4e84d345bbbbd Mon Sep 17 00:00:00 2001 From: Takashi Sogabe Date: Wed, 16 Jan 2013 14:43:37 +0900 Subject: Fix disappearance of command_call in case of statement without parentheses. --- src/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse.y') 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 { -- cgit v1.2.3