[latex3-commits] [git/LaTeX3-latex3-latex3] master: Simplify one use of \cs_split_function:N and correct its documentation (bb55740)

Bruno Le Floch bruno at le-floch.fr
Sat Apr 7 15:46:17 CEST 2018


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

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

commit bb55740b13e46972034fac6e061478871c988efc
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sat Apr 7 09:46:17 2018 -0400

    Simplify one use of \cs_split_function:N and correct its documentation


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

bb55740b13e46972034fac6e061478871c988efc
 l3kernel/l3basics.dtx |    7 +++----
 l3kernel/l3expan.dtx  |    6 ++----
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/l3kernel/l3basics.dtx b/l3kernel/l3basics.dtx
index 69a330b..e765732 100644
--- a/l3kernel/l3basics.dtx
+++ b/l3kernel/l3basics.dtx
@@ -801,14 +801,13 @@
 %   \end{syntax}
 %   Splits the \meta{function} into the \meta{name} (\emph{i.e.}~the part
 %   before the colon) and the \meta{signature} (\emph{i.e.}~after the colon).
-%   This information is then placed in the input stream after the
-%   \meta{processor} function in three parts: the \meta{name}, the
+%   This information is then placed in the input stream
+%   in three parts: the \meta{name}, the
 %   \meta{signature} and a logic token indicating if a colon was found
 %   (to differentiate variables from function names). The \meta{name}
 %   does not include the escape character, and both the \meta{name} and
 %   \meta{signature} are made up of tokens with category code $12$
-%   (other). The \meta{processor} should be a function with argument
-%   specification \texttt{:nnN} (plus any trailing arguments needed).
+%   (other).
 % \end{function}
 %
 % \section{Using or removing tokens and arguments}
diff --git a/l3kernel/l3expan.dtx b/l3kernel/l3expan.dtx
index ce524c0..c2e8378 100644
--- a/l3kernel/l3expan.dtx
+++ b/l3kernel/l3expan.dtx
@@ -1568,10 +1568,8 @@
     \use:x
       {
         \@@_generate_variant:nnNN
-          \exp_after:wN \cs_split_function:N
-          \exp_after:wN #1
-          \exp_after:wN \exp_not:N
-          \exp_after:wN #1
+          \cs_split_function:N #1
+          \exp_not:N #1
           \tl_to_str:n {#2} ,
             \exp_not:N \scan_stop: ,
             \exp_not:N \q_recursion_stop





More information about the latex3-commits mailing list