[latex3-commits] [git/LaTeX3-latex3-latex3] luaintarray: Move loop index variable into generic part (2145ce944)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Nov 14 16:38:59 CET 2021
Repository : https://github.com/latex3/latex3
On branch : luaintarray
Link : https://github.com/latex3/latex3/commit/2145ce944b07b4b138c993fdaefc513adf23b5c7
>---------------------------------------------------------------
commit 2145ce944b07b4b138c993fdaefc513adf23b5c7
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Nov 14 16:38:59 2021 +0100
Move loop index variable into generic part
>---------------------------------------------------------------
2145ce944b07b4b138c993fdaefc513adf23b5c7
l3kernel/l3intarray.dtx | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index e040fbcf2..25f0dfc84 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -183,6 +183,13 @@
{ Size~of~array~may~not~be~negative:~#1 }
% \end{macrocode}
%
+% \begin{variable}{\l_@@_loop_int}
+% A loop index.
+% \begin{macrocode}
+\int_new:N \l_@@_loop_int
+% \end{macrocode}
+% \end{variable}
+%
% \subsection{Lua implementation}
% First, let's look at the Lua variant:
%
@@ -196,13 +203,6 @@
%
% \subsubsection{Allocating arrays}
%
-% \begin{variable}{\l_@@_loop_int}
-% A loop index.
-% \begin{macrocode}
-\int_new:N \l_@@_loop_int
-% \end{macrocode}
-% \end{variable}
-%
% \begin{variable}{\g_@@_table_int, \l_@@_bad_index_int}
% Used to differentiate intarrays in Lua and to record an invalid index.
% \begin{macrocode}
@@ -603,13 +603,6 @@ luacmd('@@_gset_range:w', function()
% \end{macrocode}
% \end{macro}
%
-% \begin{variable}{\l_@@_loop_int}
-% A loop index.
-% \begin{macrocode}
-\int_new:N \l_@@_loop_int
-% \end{macrocode}
-% \end{variable}
-%
% \begin{variable}{\c_@@_sp_dim}
% Used to convert integers to dimensions fast.
% \begin{macrocode}
More information about the latex3-commits
mailing list.