diff options
| author | Takashi Sogabe <[email protected]> | 2013-01-16 14:43:37 +0900 |
|---|---|---|
| committer | Takashi Sogabe <[email protected]> | 2013-01-16 14:43:37 +0900 |
| commit | f0766e363202f954d91482abbee4e84d345bbbbd (patch) | |
| tree | 6bc56e8c9fcb189a41effd46a89028386a9b88a3 /src/parse.y | |
| parent | 98d364e4a692b942d71cb976c034ccaaa6479afc (diff) | |
| download | mruby-f0766e363202f954d91482abbee4e84d345bbbbd.tar.gz mruby-f0766e363202f954d91482abbee4e84d345bbbbd.zip | |
Fix disappearance of command_call in case of statement without parentheses.
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 2 |
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 { |
