summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/99_bugs/06_lexer_escape_at_boundary
blob: e80b0a107ca1b78f403c544331657f13d8225e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
When the lexer processed a backslash introducing a string escape directly
at the buffer boundary, the backslash was incorrectly retained.

-- Testcase --
{%
	print("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl\n");
%}
-- End --

-- Expect stdout --
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl
-- End --