summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/99_bugs/14_incomplete_expression_at_eof
blob: fd0ddd610d6cb5127abe6fcc5a4d13f08e04a8c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
When an incomplete expression was parsed at the very end of the input
buffer, the source code context line was not properly printed.

-- Expect stderr --
Syntax error: Expecting expression
In line 2, byte 1:

 `{% 1+`
       ^-- Near here


-- End --

-- Testcase --
{% 1+
-- End --