mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ." for Ellipsis.
This commit is contained in:
parent
428f0641ec
commit
dde002899d
9 changed files with 111 additions and 95 deletions
|
@ -61,9 +61,10 @@ DOUBLESLASH = 48
|
|||
DOUBLESLASHEQUAL = 49
|
||||
AT = 50
|
||||
RARROW = 51
|
||||
OP = 52
|
||||
ERRORTOKEN = 53
|
||||
N_TOKENS = 54
|
||||
ELLIPSIS = 52
|
||||
OP = 53
|
||||
ERRORTOKEN = 54
|
||||
N_TOKENS = 55
|
||||
NT_OFFSET = 256
|
||||
#--end constants--
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue