5b5fe0e018
When the lexer chokes on a stray character, its shows the characters
until the next structural character in the error message. It uses a
regular expression to match a non-empty string of non-structural
characters. Bug: the regular expression treats '"' as structural.
When the lexer chokes on '"', the match fails, and trips
must_match()'s assertion. Fix the regular expression.
Fixes:
|
||
---|---|---|
.. | ||
__init__.py | ||
.flake8 | ||
.isort.cfg | ||
commands.py | ||
common.py | ||
error.py | ||
events.py | ||
expr.py | ||
gen.py | ||
introspect.py | ||
main.py | ||
mypy.ini | ||
parser.py | ||
pylintrc | ||
schema.py | ||
source.py | ||
types.py | ||
visit.py |