diff options
Diffstat (limited to '')
-rw-r--r-- | tests/snippets/xml/multiline-comment-catastrophic-backtracking.txt | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/snippets/xml/multiline-comment-catastrophic-backtracking.txt b/tests/snippets/xml/multiline-comment-catastrophic-backtracking.txt new file mode 100644 index 0000000..d9a8b7a --- /dev/null +++ b/tests/snippets/xml/multiline-comment-catastrophic-backtracking.txt @@ -0,0 +1,56 @@ +---input--- +<!-- +this +comment +is +never +terminated +... + + + + + + + + + + + + + + + + + + + + + +... + +---tokens--- +'<' Error +'!--' Text +'\n' Text.Whitespace + +'this' Text +'\n' Text.Whitespace + +'comment' Text +'\n' Text.Whitespace + +'is' Text +'\n' Text.Whitespace + +'never' Text +'\n' Text.Whitespace + +'terminated' Text +'\n' Text.Whitespace + +'...' Text +'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n' Text.Whitespace + +'...' Text +'\n' Text.Whitespace |