[latex3-commits] [git/LaTeX3-latex3-latex3] scan-quark: Document some weird changes (52e3ebf8d)

PhelypeOleinik tex.phelype at gmail.com
Mon Mar 30 04:08:26 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : scan-quark
Link       : https://github.com/latex3/latex3/commit/52e3ebf8d76ae69c2fbaf4453744c8aa450186b7

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

commit 52e3ebf8d76ae69c2fbaf4453744c8aa450186b7
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Sun Mar 29 23:08:26 2020 -0300

    Document some weird changes


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

52e3ebf8d76ae69c2fbaf4453744c8aa450186b7
 l3kernel/expl3.dtx | 4 +++-
 l3kernel/l3tl.dtx  | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 924d48906..d9ba3cc22 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1335,7 +1335,9 @@
 %    \end{macrocode}
 %
 % \begin{variable}{\s_@@_stop}
-%   Internal scan marks.
+%   Internal scan marks. This code has to be reload-safe, so this one
+%   has to be guarded with \cs{if_cs_exist:N} (\cs{cs_if_exist:NF}) wouldn't
+%   do because it returns false for control sequences equal to \cs{scan_stop:}.
 %    \begin{macrocode}
 \reverse_if:N \if_cs_exist:N \s_@@_stop
   \scan_new:N \s_@@_stop
diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index 423264fbe..5840dee88 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -3389,7 +3389,8 @@
 % \subsection{Internal scan marks}
 %
 % \begin{variable}{\s_@@_nil,\s_@@_mark,\s_@@_stop}
-%   Internal scan marks.
+%   Internal scan marks. These are defined here at the end because the
+%   code for \cs{scan_new:N} depends on some \pkg{l3tl} functions.
 %    \begin{macrocode}
 \scan_new:N \s_@@_nil
 \scan_new:N \s_@@_mark





More information about the latex3-commits mailing list.