diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-08-23 13:49:27 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-08-23 13:49:27 -0300 |
commit | 5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d (patch) | |
tree | 8cee77510f5e919b7c4165370736aac779c8bd77 /testes/errors.lua | |
parent | 9b4f39ab14fb2e55345c3d23537d129dac23b091 (diff) | |
download | lua-5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d.tar.gz lua-5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d.tar.bz2 lua-5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d.zip |
Bug: Wrong line number for function calls
Diffstat (limited to 'testes/errors.lua')
-rw-r--r-- | testes/errors.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testes/errors.lua b/testes/errors.lua index bf6f389d..b777a329 100644 --- a/testes/errors.lua +++ b/testes/errors.lua | |||
@@ -392,19 +392,19 @@ lineerror("a\n=\n-\n\nprint\n;", 3) | |||
392 | 392 | ||
393 | lineerror([[ | 393 | lineerror([[ |
394 | a | 394 | a |
395 | ( | 395 | ( -- << |
396 | 23) | 396 | 23) |
397 | ]], 1) | 397 | ]], 2) |
398 | 398 | ||
399 | lineerror([[ | 399 | lineerror([[ |
400 | local a = {x = 13} | 400 | local a = {x = 13} |
401 | a | 401 | a |
402 | . | 402 | . |
403 | x | 403 | x |
404 | ( | 404 | ( -- << |
405 | 23 | 405 | 23 |
406 | ) | 406 | ) |
407 | ]], 2) | 407 | ]], 5) |
408 | 408 | ||
409 | lineerror([[ | 409 | lineerror([[ |
410 | local a = {x = 13} | 410 | local a = {x = 13} |