mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
When there is a SyntaxError after reading the last input character from the tokenizer and if no newline follows it, the error message used to be `unexpected EOF while parsing`, which is wrong. |
||
|---|---|---|
| .. | ||
| pgen | ||
| acceler.c | ||
| asdl.py | ||
| asdl_c.py | ||
| grammar1.c | ||
| listnode.c | ||
| myreadline.c | ||
| node.c | ||
| parser.c | ||
| parser.h | ||
| parsetok.c | ||
| Python.asdl | ||
| token.c | ||
| tokenizer.c | ||
| tokenizer.h | ||