summaryrefslogtreecommitdiffstatshomepage
path: root/py/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/lexer.c')
-rw-r--r--py/lexer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/py/lexer.c b/py/lexer.c
index 0611a727b9..6c8ac9aeed 100644
--- a/py/lexer.c
+++ b/py/lexer.c
@@ -128,10 +128,6 @@ STATIC bool is_tail_of_identifier(mp_lexer_t *lex) {
}
STATIC void next_char(mp_lexer_t *lex) {
- if (lex->chr0 == MP_LEXER_EOF) {
- return;
- }
-
if (lex->chr0 == '\n') {
// a new line
++lex->line;