[latex3-commits] [latex3/latex3] main: Add hand-tuned str functions to `l3debug` patching lists (1e2bbdeb7)

github at latex-project.org github at latex-project.org
Sun Nov 26 21:51:43 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/1e2bbdeb7ce3a21deeaba57c5075173c8d82aca4

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

commit 1e2bbdeb7ce3a21deeaba57c5075173c8d82aca4
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Sat Nov 25 11:10:04 2023 +0800

    Add hand-tuned str functions to `l3debug` patching lists


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

1e2bbdeb7ce3a21deeaba57c5075173c8d82aca4
 l3kernel/l3debug.dtx | 9 +++++++++
 l3kernel/l3str.dtx   | 8 ++++----
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3debug.dtx b/l3kernel/l3debug.dtx
index 6b182058e..517026fc4 100644
--- a/l3kernel/l3debug.dtx
+++ b/l3kernel/l3debug.dtx
@@ -838,6 +838,10 @@
       \skip_set_eq:NN
       \skip_add:Nn
       \skip_sub:Nn
+      \str_clear:N
+      \str_set_eq:NN
+      \str_put_left:Nn
+      \str_put_right:Nn
       \__kernel_tl_set:Ne
       \tl_clear:N
       \tl_set_eq:NN
@@ -903,6 +907,10 @@
       \skip_gset_eq:NN
       \skip_gadd:Nn
       \skip_gsub:Nn
+      \str_gclear:N
+      \str_gset_eq:NN
+      \str_gput_left:Nn
+      \str_gput_right:Nn
       \__kernel_tl_gset:Ne
       \tl_gclear:N
       \tl_gset_eq:NN
@@ -941,6 +949,7 @@
       \intarray_const_from_clist:Nn
       \muskip_const:Nn
       \skip_const:Nn
+      \str_const:Nn
       \tl_const:Nn
     }
 %    \end{macrocode}
diff --git a/l3kernel/l3str.dtx b/l3kernel/l3str.dtx
index ceea8bfd7..5787fbfbd 100644
--- a/l3kernel/l3str.dtx
+++ b/l3kernel/l3str.dtx
@@ -106,7 +106,7 @@
 %   initially empty.
 % \end{function}
 %
-% \begin{function}[added = 2015-09-18, updated = 2023-11-25]
+% \begin{function}[added = 2015-09-18, updated = 2018-07-28]
 %   {
 %     \str_const:Nn, \str_const:NV, \str_const:Ne,
 %     \str_const:cn, \str_const:cV, \str_const:ce
@@ -176,7 +176,7 @@
 %
 % \section{Adding data to string variables}
 %
-% \begin{function}[added = 2015-09-18, updated = 2023-11-25]
+% \begin{function}[added = 2015-09-18, updated = 2018-07-28]
 %   {
 %     \str_set:Nn,  \str_set:NV, \str_set:Ne,
 %     \str_set:cn,  \str_set:cV, \str_set:ce,
@@ -190,7 +190,7 @@
 %   result in \meta{str var}.
 % \end{function}
 %
-% \begin{function}[added = 2015-09-18, updated = 2023-11-25]
+% \begin{function}[added = 2015-09-18, updated = 2018-07-28]
 %   {
 %     \str_put_left:Nn, \str_put_left:NV, \str_put_left:Ne,
 %     \str_put_left:cn, \str_put_left:cV, \str_put_left:ce,
@@ -205,7 +205,7 @@
 %     var} are not automatically converted to a string.
 % \end{function}
 %
-% \begin{function}[added = 2015-09-18, updated = 2023-11-25]
+% \begin{function}[added = 2015-09-18, updated = 2018-07-28]
 %   {
 %     \str_put_right:Nn, \str_put_right:NV, \str_put_right:Ne,
 %     \str_put_right:cn, \str_put_right:cV, \str_put_right:Ne,





More information about the latex3-commits mailing list.