[latex3-commits] [git/LaTeX3-latex3-latex3] luaintarray: Move _show family to generic part (79f30a18a)
Marcel Fabian Krüger
tex at 2krueger.de
Sat Nov 13 16:58:01 CET 2021
Repository : https://github.com/latex3/latex3
On branch : luaintarray
Link : https://github.com/latex3/latex3/commit/79f30a18ad7f98460875202782677ae4b2131def
>---------------------------------------------------------------
commit 79f30a18ad7f98460875202782677ae4b2131def
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sat Nov 13 16:58:01 2021 +0100
Move _show family to generic part
>---------------------------------------------------------------
79f30a18ad7f98460875202782677ae4b2131def
l3kernel/l3intarray.dtx | 37 +++++++------------------------------
1 file changed, 7 insertions(+), 30 deletions(-)
diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index fb5c6152e..723f7206e 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -580,34 +580,13 @@ luacmd('@@_gset_range:w', function()
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\intarray_show:N, \intarray_show:c, \intarray_log:N, \intarray_log:c}
-% Convert the list to a comma list (with spaces after each comma)
-% \begin{macrocode}
-%<*tex>
-\cs_new_protected:Npn \intarray_show:N { \@@_show:NN \msg_show:nnxxxx }
-\cs_generate_variant:Nn \intarray_show:N { c }
-\cs_new_protected:Npn \intarray_log:N { \@@_show:NN \msg_log:nnxxxx }
-\cs_generate_variant:Nn \intarray_log:N { c }
-\cs_new_protected:Npn \@@_show:NN #1#2
- {
- \__kernel_chk_defined:NT #2
- {
- #1 { intarray } { show }
- { \token_to_str:N #2 }
- { \intarray_count:N #2 }
- { >~ \@@_to_clist:Nn #2 { , ~ } }
- { }
- }
- }
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macro}{\@@_gset_overflow_test:nw}
% In order to allow some code sharing later we provide the
% \cs{@@_gset_overflow_test:nw} name here. It doesn't actually test anything
% since the Lua implementation accepts all integers which could be tested with
% \cs{tex_ifabsnum:D}.
% \begin{macrocode}
+%<*tex>
\cs_new_protected:Npn \@@_gset_overflow_test:nw #1
{
}
@@ -950,6 +929,12 @@ luacmd('@@_gset_range:w', function()
% \end{macrocode}
% \end{macro}
%
+% \begin{macrocode}
+}
+% \end{macrocode}
+%
+% \subsection{Common parts}
+%
% \begin{macro}{\intarray_show:N, \intarray_show:c, \intarray_log:N, \intarray_log:c}
% Convert the list to a comma list (with spaces after each comma)
% \begin{macrocode}
@@ -971,14 +956,6 @@ luacmd('@@_gset_range:w', function()
% \end{macrocode}
% \end{macro}
%
-% \begin{macrocode}
-}
-% \end{macrocode}
-%
-% \subsection{Common parts}
-% Finally some code is shared between both implementations.
-% Currently this is only the support for random arrays.
-%
% \subsubsection{Random arrays}
%
% \begin{macro}{\intarray_gset_rand:Nn, \intarray_gset_rand:cn}
More information about the latex3-commits
mailing list.