mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
5b956ca42d
With the new parser, the error message contains always the trailing newlines, causing the comparison of the repr of the error messages in codeop to fail. This commit makes the new parser mirror the old parser's behaviour regarding trailing newlines. |
||
---|---|---|
.. | ||
pegen | ||
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 |