[latex3-commits] [git/LaTeX3-latex3-latex3] master: remove unnecessary stop-mark from keyval_trim:nN (170a517d4)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Dec 31 12:05:47 CET 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/170a517d4fb901c25082262098ddf909287099a2
>---------------------------------------------------------------
commit 170a517d4fb901c25082262098ddf909287099a2
Author: Jonathan Spratte <jspratte at yahoo.de>
Date: Sun Dec 20 19:38:48 2020 +0100
remove unnecessary stop-mark from keyval_trim:nN
>---------------------------------------------------------------
170a517d4fb901c25082262098ddf909287099a2
l3kernel/l3keys.dtx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 9849e1137..6ce016b7e 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -1350,7 +1350,6 @@
\@@_trim_auxiii:w
#1 \s_@@_nil
\@@_trim_auxiv:w
- \s_@@_stop
}
\cs_new:Npn \@@_trim_auxi:w ##1 \s_@@_mark #1 ##2 \s_@@_mark ##3
{
@@ -1374,8 +1373,11 @@
% \end{macrocode}
% This is the one macro which differs from the original definition.
% \begin{macrocode}
- \cs_new:Npn \@@_trim_auxiv:w \s_@@_mark ##1 \s_@@_nil ##2 \s_@@_stop ##3
- { ##3 { ##1 } }
+ \cs_new:Npn \@@_trim_auxiv:w
+ \s_@@_mark ##1 \s_@@_nil
+ \@@_trim_auxiii:w \s_@@_nil \@@_trim_auxiii:w
+ ##2
+ { ##2 { ##1 } }
}
\@@_tmp:n { ~ }
\group_end:
More information about the latex3-commits
mailing list.