summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/04_bugs/14_incomplete_expression_at_eof
blob: 474e87cdafa0ea04b8d57fdaa16b02883de97e02 (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 1, byte 7:

 `{% 1+`
       ^-- Near here


-- End --

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