[latex3-commits] [latex3/latex3] tl-build: Use a more efficient approach to prevent expansion (fd8842bb9)
github at latex-project.org
github at latex-project.org
Fri Oct 27 11:23:54 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : tl-build
Link : https://github.com/latex3/latex3/commit/fd8842bb9eeaeae80b9b48bc158004a810b60e58
>---------------------------------------------------------------
commit fd8842bb9eeaeae80b9b48bc158004a810b60e58
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Oct 25 07:05:18 2023 +0100
Use a more efficient approach to prevent expansion
>---------------------------------------------------------------
fd8842bb9eeaeae80b9b48bc158004a810b60e58
l3kernel/l3tl-build.dtx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/l3kernel/l3tl-build.dtx b/l3kernel/l3tl-build.dtx
index 9ccd73ba0..b8c0e2056 100644
--- a/l3kernel/l3tl-build.dtx
+++ b/l3kernel/l3tl-build.dtx
@@ -198,13 +198,13 @@
\cs_new_protected:Npn \tl_build_put_right:Nn #1#2
{
\cs_set_nopar:Npe #1
- { \exp_after:wN \exp_not:n \exp_after:wN { \exp:w #1 #2 } }
+ { \__kernel_exp_not:w \exp_after:wN { \exp:w #1 #2 } }
}
\cs_generate_variant:Nn \tl_build_put_right:Nn { Ne , Nx }
\cs_new_protected:Npn \tl_build_gput_right:Nn #1#2
{
\cs_gset_nopar:Npe #1
- { \exp_after:wN \exp_not:n \exp_after:wN { \exp:w #1 #2 } }
+ { \__kernel_exp_not:w \exp_after:wN { \exp:w #1 #2 } }
}
\cs_generate_variant:Nn \tl_build_gput_right:Nn { Ne , Nx }
\cs_new_protected:Npn \@@_build_last:NNn #1#2
@@ -219,7 +219,7 @@
\fi:
#1 #2
{
- \exp_after:wN \exp_not:n \exp_after:wN
+ \__kernel_exp_not:w \exp_after:wN
{
\exp:w \if_false: } } \fi:
\exp_after:wN \@@_build_put:nn \exp_after:wN {#2}
@@ -254,7 +254,7 @@
{
#1 #2
{
- \exp_after:wN \exp_not:n \exp_after:wN
+ \__kernel_exp_not:w \exp_after:wN
{
\exp:w \exp_after:wN \@@_build_put:nn
\exp_after:wN {#2} {#3}
@@ -315,7 +315,7 @@
\exp_after:wN \@@_build_get:w #3
}
\cs_new:Npn \@@_build_get_end:w #1#2#3
- { \exp_after:wN \exp_not:n \exp_after:wN { \if_false: } \fi: }
+ { \__kernel_exp_not:w \exp_after:wN { \if_false: } \fi: }
% \end{macrocode}
% \end{macro}
% \end{macro}
More information about the latex3-commits
mailing list.