Staging
v0.8.1
Revision 5b956ca42de37c761562e9c9aeb96a0e67606e33 authored by Pablo Galindo on 11 May 2020, 00:41:26 UTC, committed by GitHub on 11 May 2020, 00:41:26 UTC
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.
1 parent 2cc9b84
History
File Mode Size
fixes
pgen2
tests
Grammar.txt -rw-r--r-- 6.6 KB
PatternGrammar.txt -rw-r--r-- 793 bytes
__init__.py -rw-r--r-- 163 bytes
__main__.py -rw-r--r-- 67 bytes
btm_matcher.py -rw-r--r-- 6.5 KB
btm_utils.py -rw-r--r-- 9.7 KB
fixer_base.py -rw-r--r-- 6.5 KB
fixer_util.py -rw-r--r-- 14.8 KB
main.py -rw-r--r-- 11.6 KB
patcomp.py -rw-r--r-- 6.9 KB
pygram.py -rw-r--r-- 1.3 KB
pytree.py -rw-r--r-- 27.3 KB
refactor.py -rw-r--r-- 26.9 KB

back to top