Bug: Wrong line number for function calls

This commit is contained in:
Roberto Ierusalimschy
2023-08-23 13:49:27 -03:00
parent 9b4f39ab14
commit 5ab6a5756b
2 changed files with 10 additions and 10 deletions

View File

@@ -392,19 +392,19 @@ lineerror("a\n=\n-\n\nprint\n;", 3)
lineerror([[
a
(
( -- <<
23)
]], 1)
]], 2)
lineerror([[
local a = {x = 13}
a
.
x
(
( -- <<
23
)
]], 2)
]], 5)
lineerror([[
local a = {x = 13}