[latex3-commits] [git/LaTeX3-latex3-latex3] master: Move where @@ applies [ci skip] (96c9208)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Apr 1 21:28:59 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/96c9208c191e7d3da66b62d46dfd5e97010aad60

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

commit 96c9208c191e7d3da66b62d46dfd5e97010aad60
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Apr 1 15:06:55 2018 +0100

    Move where @@ applies [ci skip]
    
    Makes finding 'real' uses of __ a bit easier.


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

96c9208c191e7d3da66b62d46dfd5e97010aad60
 l3kernel/l3tl-analysis.dtx |   34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/l3kernel/l3tl-analysis.dtx b/l3kernel/l3tl-analysis.dtx
index 9716732..85f9854 100644
--- a/l3kernel/l3tl-analysis.dtx
+++ b/l3kernel/l3tl-analysis.dtx
@@ -71,16 +71,20 @@
 %
 % \section{\pkg{l3tl-analysis} implementation}
 %
+%    \begin{macrocode}
+%<@@=tl>
+%    \end{macrocode}
+%
 % \subsection{Internal functions}
 %
-% \begin{variable}{\s__tl}
+% \begin{variable}{\s_@@}
 %   The format used to store token lists internally uses the scan mark
-%   \cs{s__tl} as a delimiter.
+%   \cs{s_@@} as a delimiter.
 % \end{variable}
 %
-% \begin{function}{\__tl_analysis_map_inline:nn}
+% \begin{function}{\@@_analysis_map_inline:nn}
 %   \begin{syntax}
-%     \cs{__tl_analysis_map_inline:nn} \Arg{token list} \Arg{inline function}
+%     \cs{@@_analysis_map_inline:nn} \Arg{token list} \Arg{inline function}
 %   \end{syntax}
 %   Applies the \meta{inline function} to each individual \meta{token}
 %   in the \meta{token list}. The \meta{inline function} receives three
@@ -101,7 +105,7 @@
 % \end{function}
 %
 % For optimizations in \pkg{l3regex} (when matching control sequences),
-% it may be useful to provide a \cs{__tl_analysis_from_str_map_inline:nn}
+% it may be useful to provide a \cs{@@_analysis_from_str_map_inline:nn}
 % function, perhaps named \cs{__str_analysis_map_inline:nn}.
 %
 % \subsection{Internal format}
@@ -123,7 +127,7 @@
 % regexes are catcode-agnostic. The internal format thus takes the form
 % of a succession of items of the form
 % \begin{quote}
-%   \meta{tokens} \cs{s__tl} \meta{catcode} \meta{char code} \cs{s__tl}
+%   \meta{tokens} \cs{s_@@} \meta{catcode} \meta{char code} \cs{s_@@}
 % \end{quote}
 % The \meta{tokens} \texttt{o}- \emph{and} \texttt{x}-expand to the
 % original token in the token list or to the cluster of tokens
@@ -134,7 +138,7 @@
 %
 % Using delimited arguments lets us build the \meta{tokens}
 % progressively when doing an encoding conversion in \pkg{l3str-convert}. On the
-% other hand, the delimiter \cs{s__tl} may not appear unbraced in
+% other hand, the delimiter \cs{s_@@} may not appear unbraced in
 % \meta{tokens}. This is not a problem because we are careful to wrap
 % control sequences in braces (as an argument to \cs{exp_not:n}) when
 % converting from a general token list to the internal format.
@@ -144,15 +148,15 @@
 % it is the following.
 % \begin{itemize}
 %   \item A control sequence |\cs| becomes |\exp_not:n { \cs }|
-%     \cs{s__tl} $0$ $-1$ \cs{s__tl}.
+%     \cs{s_@@} $0$ $-1$ \cs{s_@@}.
 %   \item A begin-group character |{| becomes \cs{exp_after:wN} |{|
-%     \cs{if_false:} |}| \cs{fi:} \cs{s__tl} $1$ \meta{char code}
-%     \cs{s__tl}.
+%     \cs{if_false:} |}| \cs{fi:} \cs{s_@@} $1$ \meta{char code}
+%     \cs{s_@@}.
 %   \item An end-group character |}| becomes \cs{if_false:} |{| \cs{fi:}
-%     |}| \cs{s__tl} $2$ \meta{char code} \cs{s__tl}.
+%     |}| \cs{s_@@} $2$ \meta{char code} \cs{s_@@}.
 %   \item A character with any other category code becomes
-%     \cs{exp_not:n} \Arg{character} \cs{s__tl} \meta{hex catcode}
-%     \meta{char code} \cs{s__tl}.
+%     \cs{exp_not:n} \Arg{character} \cs{s_@@} \meta{hex catcode}
+%     \meta{char code} \cs{s_@@}.
 % \end{itemize}
 %
 % ^^A todo: ask LuaTeX list for an \ifx\undefined <active char>
@@ -162,10 +166,6 @@
 %<*initex|package>
 %    \end{macrocode}
 %
-%    \begin{macrocode}
-%<@@=tl>
-%    \end{macrocode}
-%
 % \subsection{Variables and helper functions}
 %
 % \begin{variable}{\s_@@}





More information about the latex3-commits mailing list