diff options
author | yui-knk <spiketeika@gmail.com> | 2022-12-04 12:19:54 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2022-12-26 17:34:57 +0900 |
commit | adc29351f77cd152374a9156a7f1ce6a1a565bbd (patch) | |
tree | 5046ed2520a3cec589ac0ed6f9c8b18a2e0ba128 /parse.y | |
parent | b466f1a5fbcb7bc5dcd0b624e09261e5c737d9a6 (diff) | |
download | ruby-adc29351f77cd152374a9156a7f1ce6a1a565bbd.tar.gz |
EXPR_DOT is set when next token is tANDDOT ("&.") [ci skip]
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ enum lex_state_bits { EXPR_CMDARG_bit, /* newline significant, +/- is an operator. */ EXPR_MID_bit, /* newline significant, +/- is an operator. */ EXPR_FNAME_bit, /* ignore newline, no reserved words. */ - EXPR_DOT_bit, /* right after `.' or `::', no reserved words. */ + EXPR_DOT_bit, /* right after `.', `&.' or `::', no reserved words. */ EXPR_CLASS_bit, /* immediate after `class', no here document. */ EXPR_LABEL_bit, /* flag bit, label is allowed. */ EXPR_LABELED_bit, /* flag bit, just after a label. */ |