diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-09-25 20:22:36 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-09-25 20:22:36 +0900 |
| commit | e01d35ef79f95777f3846c46c4c3f1a311ec66c6 (patch) | |
| tree | 3be83dd1432578ff83b2b75f629781e1430f40d4 /mrbgems/mruby-compiler/core/parse.y | |
| parent | 298177fd6a9489166fec5b64e2aebcffbdd0e48b (diff) | |
| download | mruby-e01d35ef79f95777f3846c46c4c3f1a311ec66c6.tar.gz mruby-e01d35ef79f95777f3846c46c4c3f1a311ec66c6.zip | |
The symbols should not take brace blocks.
Diffstat (limited to 'mrbgems/mruby-compiler/core/parse.y')
| -rw-r--r-- | mrbgems/mruby-compiler/core/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 0e425b189..5daae941c 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -2857,7 +2857,7 @@ symbol : basic_symbol } | tSYMBEG tSTRING_BEG string_rep tSTRING { - p->lstate = EXPR_END; + p->lstate = EXPR_ENDARG; $$ = new_dsym(p, push($3, $4)); } ; |
