EXPR_DOT is set when next token is tANDDOT ("&.") [ci skip]

This commit is contained in:
yui-knk 2022-12-04 12:19:54 +09:00 committed by Yuichiro Kaneko
parent b466f1a5fb
commit adc29351f7
Notes: git 2022-12-26 08:35:15 +00:00

View file

@ -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. */