summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3debug.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-25 20:48:22 +0000
committerKarl Berry <karl@freefriends.org>2021-05-25 20:48:22 +0000
commit1764edc3b60a2c9fb210ca74b758f3e8e8a53692 (patch)
treeda1842e54bdea33c2b8d434860131cfa08c9444d /Master/texmf-dist/source/latex/l3kernel/l3debug.dtx
parent4bf5956529386575d89874638bfd567040b9475c (diff)
l3kernel (25may21)
git-svn-id: svn://tug.org/texlive/trunk@59345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3debug.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3debug.dtx21
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3debug.dtx b/Master/texmf-dist/source/latex/l3kernel/l3debug.dtx
index b7eb9d0215d..1ac920d00ef 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3debug.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3debug.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-05-11}
+% \date{Released 2021-05-25}
%
% \maketitle
%
@@ -491,7 +491,7 @@
% \cs{clist_concat:NNN}''.
%
% Instead of changing \emph{the} definition of the macros, we'll
-% create a copy of such macros, say, |__debug_clist_concat:NNN| which
+% create a copy of such macros, say, \cs[no-index]{@@_clist_concat:NNN} which
% will be defined as
% |<debug code with #1, #2 and #3>\clist_concat:NNN#1#2#3|. For that
% we need to identify the signature of every function and build the
@@ -569,8 +569,7 @@
\__kernel_msg_new:nnn { debug } { bad-arg-type }
{ Wrong~argument~type~#1. }
% \end{macrocode}
-% The macro below is a modifiec copy of
-% |\__cs_generate_variant_loop_base:N| to get the base form of an
+% The macro below gets the base form of an
% argument type given a variant. It serves only to differentiate
% arguments which should be braced from ones which shouldn't. If all
% were to be braced this would be unnecessary. I moved the |n| and |N|
@@ -647,7 +646,7 @@
\tex_endlinechar:D -1 \scan_stop:
\tl_map_inline:nn {#3}
{
- \cs_if_exist:cTF { __debug_ \cs_to_str:N ##1 }
+ \cs_if_exist:cTF { @@_ \cs_to_str:N ##1 }
{ \@@_add_to_debug_code:Nnn }
{ \@@_setup_debug_code:Nnn }
##1 {#1} {#2}
@@ -656,7 +655,7 @@
}
\cs_set_protected:Npn \@@_setup_debug_code:Nnn #1#2#3
{
- \cs_gset_eq:cN { __debug_ \cs_to_str:N #1 } #1
+ \cs_gset_eq:cN { @@_ \cs_to_str:N #1 } #1
\@@_generate_parameter_list:NNN #1 \l_@@_tmpa_tl \l_@@_tmpb_tl
\exp_args:Nx \tex_scantokens:D
{
@@ -665,7 +664,7 @@
\tl_use:N \l_@@_tmpa_tl
{
\tl_to_str:n {#2}
- \exp_not:c { __debug_ \cs_to_str:N #1 }
+ \exp_not:c { @@_ \cs_to_str:N #1 }
\tl_use:N \l_@@_tmpb_tl
\tl_to_str:n {#3}
}
@@ -678,7 +677,7 @@
\cs_set:Npn \exp_not:N \@@_tmp:w
####1 \tl_to_str:n { macro: }
####2 \tl_to_str:n { -> }
- ####3 \c_backslash_str \tl_to_str:n { __debug_ }
+ ####3 \c_backslash_str \tl_to_str:n { @@_ }
\cs_to_str:N #1
####4 \s_@@_stop
{
@@ -688,7 +687,7 @@
\tex_def:D \exp_not:N #1 ####2
{
####3 \tl_to_str:n {#2}
- \c_backslash_str __debug_ \cs_to_str:N #1
+ \c_backslash_str @@_ \cs_to_str:N #1
####4 \tl_to_str:n {#3}
}
}
@@ -808,6 +807,7 @@
\box_set_eq:NN
\box_set_eq_drop:NN
\box_set_to_last:N
+ \clist_clear:N
\clist_set_eq:NN
\dim_zero:N
\dim_set:Nn
@@ -838,6 +838,7 @@
\skip_add:Nn
\skip_sub:Nn
\__kernel_tl_set:Nx
+ \tl_clear:N
\tl_set_eq:NN
\tl_put_left:Nn
\tl_put_left:NV
@@ -870,6 +871,7 @@
\box_gset_eq_drop:NN
\box_gset_to_last:N
\cctab_gset:Nn
+ \clist_gclear:N
\clist_gset_eq:NN
\dim_gset_eq:NN
\dim_gzero:N
@@ -900,6 +902,7 @@
\skip_gadd:Nn
\skip_gsub:Nn
\__kernel_tl_gset:Nx
+ \tl_gclear:N
\tl_gset_eq:NN
\tl_gput_left:Nn
\tl_gput_left:NV