Skip to content

Commit 66435cd

Browse files
committed
some updates
1 parent c85795b commit 66435cd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

PythonLexer.g4

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ fragment EXPONENT : ('e' | 'E') ('+' | '-')? DIGIT_PART;
417417
// https://docs.python.org/3.13/reference/lexical_analysis.html#imaginary-literals
418418
fragment IMAG_NUMBER : (FLOAT_NUMBER | DIGIT_PART) ('j' | 'J');
419419
420-
// https://github.com/RobEin/ANTLR4-parser-for-Python-3.13/tree/main/valid_chars_in_py_identifiers
420+
// https://github.com/RobEin/ANTLR4-parser-for-Python-3.13/tree/main/utils/valid_chars_in_py_identifiers
421421
fragment ID_CONTINUE
422422
: ID_START
423423
| '\u{0030}' .. '\u{0039}'

port_Python3/PythonLexerBase.py

-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ def __set_lexer_mode_after_RBRACE_token(self) -> None:
308308
case Lexer.DEFAULT_MODE:
309309
self.__pop_lexer_mode() # only once
310310
self.__pop_by_RBRACE()
311-
312311
case self.SQ1__FORMAT_SPECIFICATION_MODE \
313312
| self.SQ1R_FORMAT_SPECIFICATION_MODE \
314313
| self.DQ1__FORMAT_SPECIFICATION_MODE \

0 commit comments

Comments
 (0)