blob: db10121f52c1bb40c731a1588f7291f72d99b378 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
When lexing a source buffer with a non-zero offset, e.g. due to a
skipped interpreter line, lexical tokens reported a wrong offset
to the compiler, causing error locations and source context lines
to be incorrectly shifted.
-- Testcase --
#!/usr/bin/env ucode
{%
die("Error");
%}
-- End --
-- Expect stderr --
Error
In line 3, byte 12:
` die("Error");`
Near here -----^
-- End --
|