LibCST/libcst/_parser
Jennifer Taylor 57860f3d76 Fix trailing newline detection around continuation.
If you have such a program like "pass\\\n", this is technically a program without a trailing newline, since line continuations are defined as being a `\` followed by a newline. We were misdetecting this as having a trailing newline, thus making it impossible to parse the continuation. Add some tests to verify this behavior and then fix the problem.

Note that this was found via hypothesis.
2019-10-21 13:24:25 -07:00
..
conversions Remove parsing Subscript slice directly into Index/Slice. 2019-10-18 13:40:10 -07:00
parso Bump pyre version to 0.0.30. 2019-09-25 12:04:33 -07:00
tests Fix trailing newline detection around continuation. 2019-10-21 13:24:25 -07:00
types Rename ExtSlice to SubscriptElement in anticipation of further fitxes. 2019-10-16 16:00:27 -07:00
__init__.py Make parser package private 2019-07-26 12:48:22 -07:00
base_parser.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
custom_itertools.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
detect_config.py Fix trailing newline detection around continuation. 2019-10-21 13:24:25 -07:00
entrypoints.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
grammar.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
production_decorator.py Upgrade Pyre to 0.32. 2019-10-04 11:05:37 -07:00
python_parser.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
whitespace_parser.py Bump pyre version to 0.0.30. 2019-09-25 12:04:33 -07:00
wrapped_tokenize.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00