[latex3-commits] [git/LaTeX3-latex3-latex3] luaintarray: Use \cs_gset_nopar:Npx instead of \cs_gset:Npx (8bbd050c4)

Marcel Fabian Krüger tex at 2krueger.de
Sat Nov 13 14:09:41 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : luaintarray
Link       : https://github.com/latex3/latex3/commit/8bbd050c47e01ddaaae39c8ffc3ebb5af945c3be

>---------------------------------------------------------------

commit 8bbd050c47e01ddaaae39c8ffc3ebb5af945c3be
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Nov 13 11:27:45 2021 +0100

    Use \cs_gset_nopar:Npx instead of \cs_gset:Npx


>---------------------------------------------------------------

8bbd050c47e01ddaaae39c8ffc3ebb5af945c3be
 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 02e5d67dc..83d7be8bd 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -240,7 +240,7 @@ end, 'protected', 'global')
   {
     \__kernel_chk_if_free_cs:N #1
     \int_gincr:N \g_@@_table_int
-    \cs_gset:Npx #1 { \s_@@ \int_use:N \g_@@_table_int \c_space_tl }
+    \cs_gset_nopar:Npx #1 { \s_@@ \int_use:N \g_@@_table_int \c_space_tl }
   }
 \cs_new_protected:Npn \intarray_new:Nn #1#2
   {
diff --git a/l3kernel/testfiles/m3intarray001.luatex.tlg b/l3kernel/testfiles/m3intarray001.luatex.tlg
index 353d53a73..815e31c8c 100644
--- a/l3kernel/testfiles/m3intarray001.luatex.tlg
+++ b/l3kernel/testfiles/m3intarray001.luatex.tlg
@@ -22,7 +22,7 @@ This is a coding error.
 LaTeX has been asked to create a new control sequence '\g_testa_intarray' but
 this name has already been used elsewhere.
 The current meaning is:
-  \long macro:->\s__intarray 9 
+  macro:->\s__intarray 9 
 Defining \g_testa_intarray on line ...
 ! LaTeX3 Error: Access to an entry beyond an array's bounds.
 For immediate help type H <return>.





More information about the latex3-commits mailing list.