summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-11-11 22:22:26 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-11-12 15:02:04 +0900
commit7c1878669a3efe02e3a0c530805d553e7f7cf1ea (patch)
tree4727e22428f5457687c4e42811ada47db9aebd74 /include
parent885a87e408a8677832557f0f70d3176f618760aa (diff)
downloadmruby-7c1878669a3efe02e3a0c530805d553e7f7cf1ea.tar.gz
mruby-7c1878669a3efe02e3a0c530805d553e7f7cf1ea.zip
parse.y: should allow newline after `...`.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index 6732625c1..aa1739ef1 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -56,7 +56,7 @@ enum mrb_lex_state_enum {
EXPR_ENDFN, /* ditto, and unbound braces. */
EXPR_ARG, /* newline significant, +/- is an operator. */
EXPR_CMDARG, /* newline significant, +/- is an operator. */
- EXPR_MID, /* newline significant, +/- is an operator. */
+ EXPR_MID, /* newline significant, +/- is a sign. */
EXPR_FNAME, /* ignore newline, no reserved words. */
EXPR_DOT, /* right after '.' or '::', no reserved words. */
EXPR_CLASS, /* immediate after 'class', no here document. */