\\\r\n is as possible as \\\n.

This commit is contained in:
Dave Halter committed 2015-04-28 18:53:14 +02:00
1 parent 712ae01ac0
commit 66557903ae
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -207,3 +207,9 @@ def test_param_splitting():
def test_unicode_string():
s = pt.String(None, u('bö'), (0, 0))
assert repr(s) # Should not raise an Error!
def test_backslash_dos_style():
grammar = load_grammar()
m = Parser(grammar, u('\\\r\n')).module
assert m