summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-09-25 20:22:36 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-09-25 20:22:36 +0900
commite01d35ef79f95777f3846c46c4c3f1a311ec66c6 (patch)
tree3be83dd1432578ff83b2b75f629781e1430f40d4 /mrbgems/mruby-compiler/core/parse.y
parent298177fd6a9489166fec5b64e2aebcffbdd0e48b (diff)
downloadmruby-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.y2
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));
}
;