[latex3-commits] [git/LaTeX3-latex3-latex3] luaintarray: Fix inconsistent placement of docstrip markers (a6b902c54)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Nov 14 16:33:19 CET 2021
Repository : https://github.com/latex3/latex3
On branch : luaintarray
Link : https://github.com/latex3/latex3/commit/a6b902c5427b0453a7b23624e9dabb17d1b4a29d
>---------------------------------------------------------------
commit a6b902c5427b0453a7b23624e9dabb17d1b4a29d
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Nov 14 16:33:19 2021 +0100
Fix inconsistent placement of docstrip markers
>---------------------------------------------------------------
a6b902c5427b0453a7b23624e9dabb17d1b4a29d
l3kernel/l3intarray.dtx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index 0c57d655c..e040fbcf2 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -208,6 +208,7 @@
% \begin{macrocode}
\int_new:N \g_@@_table_int
\int_new:N \l_@@_bad_index_int
+%</tex>
% \end{macrocode}
% \end{variable}
%
@@ -216,14 +217,12 @@
% identifying the array and a single space. This format is used to make it
% easy to scan from Lua.
% \begin{macrocode}
-%</tex>
%<*lua>
luacmd('@@:w', function()
scan_int()
tex.error'LaTeX Error: Isolated intarray ignored'
end, 'protected', 'global')
%</lua>
-%<*tex>
% \end{macrocode}
% \end{macro}
%
@@ -234,6 +233,7 @@ end, 'protected', 'global')
% Every \texttt{intarray} must be global; it's enough to run this
% check in \cs{intarray_new:Nn}.
% \begin{macrocode}
+%<*tex>
\cs_new_protected:Npn \@@_new:N #1
{
\__kernel_chk_if_free_cs:N #1
More information about the latex3-commits
mailing list.