mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-07 05:14:29 +08:00
Remove the remove_newline hack and build that stuff into error recovery instead.
Tests are passing except for diff parser tests.
This commit is contained in:
@@ -17,7 +17,7 @@ class PrefixPart(object):
|
||||
|
||||
|
||||
_comment = r'#[^\n\r\f]*'
|
||||
_backslash = r'\\\r?\n?'
|
||||
_backslash = r'\\\r?\n'
|
||||
_whitespace = r' +'
|
||||
_tabs = r'\t+'
|
||||
_newline = r'\r?\n'
|
||||
|
||||
Reference in New Issue
Block a user