mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
EXPR_DOT is set when next token is tANDDOT ("&.") [ci skip]
This commit is contained in:
parent
b466f1a5fb
commit
adc29351f7
Notes:
git
2022-12-26 08:35:15 +00:00
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -150,7 +150,7 @@ enum lex_state_bits {
|
||||||
EXPR_CMDARG_bit, /* newline significant, +/- is an operator. */
|
EXPR_CMDARG_bit, /* newline significant, +/- is an operator. */
|
||||||
EXPR_MID_bit, /* newline significant, +/- is an operator. */
|
EXPR_MID_bit, /* newline significant, +/- is an operator. */
|
||||||
EXPR_FNAME_bit, /* ignore newline, no reserved words. */
|
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_CLASS_bit, /* immediate after `class', no here document. */
|
||||||
EXPR_LABEL_bit, /* flag bit, label is allowed. */
|
EXPR_LABEL_bit, /* flag bit, label is allowed. */
|
||||||
EXPR_LABELED_bit, /* flag bit, just after a label. */
|
EXPR_LABELED_bit, /* flag bit, just after a label. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue