[latex3-commits] [git/LaTeX3-latex3-latex3] luaintarray: Fix index in error message (8082225e4)
Marcel Fabian Krüger
tex at 2krueger.de
Sat Nov 13 11:42:39 CET 2021
Repository : https://github.com/latex3/latex3
On branch : luaintarray
Link : https://github.com/latex3/latex3/commit/8082225e4006c5f307c6d6266816b2a185be7dde
>---------------------------------------------------------------
commit 8082225e4006c5f307c6d6266816b2a185be7dde
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sat Nov 13 11:42:39 2021 +0100
Fix index in error message
>---------------------------------------------------------------
8082225e4006c5f307c6d6266816b2a185be7dde
l3kernel/l3intarray.dtx | 2 +-
l3kernel/testfiles/m3intarray001.luatex.tlg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index e842d28c0..02e5d67dc 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -359,7 +359,7 @@ luacmd('@@_gset:wF', function()
t[i] = scan_int()
put_next(use_none)
else
- tex.l_@@_bad_index_int = i
+ tex.count.l_@@_bad_index_int = i
scan_int()
put_next(use_i)
end
diff --git a/l3kernel/testfiles/m3intarray001.luatex.tlg b/l3kernel/testfiles/m3intarray001.luatex.tlg
index 9717cf9c6..353d53a73 100644
--- a/l3kernel/testfiles/m3intarray001.luatex.tlg
+++ b/l3kernel/testfiles/m3intarray001.luatex.tlg
@@ -34,7 +34,7 @@ An attempt was made to access or store data at position 0 of the array
For immediate help type H <return>.
...
l. ... }
-An attempt was made to access or store data at position 0 of the array
+An attempt was made to access or store data at position 13 of the array
'\g_testa_intarray', but this array has entries at positions from 1 to 12.
! Use of \??? doesn't match its definition.
<argument> \???
More information about the latex3-commits
mailing list.