summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3kernel/l3tl-analysis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3tl-analysis.dtx')
-rw-r--r--macros/latex/contrib/l3kernel/l3tl-analysis.dtx38
1 files changed, 19 insertions, 19 deletions
diff --git a/macros/latex/contrib/l3kernel/l3tl-analysis.dtx b/macros/latex/contrib/l3kernel/l3tl-analysis.dtx
index 385b3db8ac..9cadf04e87 100644
--- a/macros/latex/contrib/l3kernel/l3tl-analysis.dtx
+++ b/macros/latex/contrib/l3kernel/l3tl-analysis.dtx
@@ -44,7 +44,7 @@
% }^^A
% }
%
-% \date{Released 2023-08-29}
+% \date{Released 2023-10-10}
%
% \maketitle
%
@@ -233,7 +233,7 @@
% \begin{macrocode}
\group_begin:
\char_set_active_eq:NN \ \scan_stop:
-\tl_const:Nx \c_@@_peek_catcodes_tl
+\tl_const:Ne \c_@@_peek_catcodes_tl
{
\char_generate:nn { 32 } { 3 } 3
\char_generate:nn { 32 } { 4 } 4
@@ -773,7 +773,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_analysis_b:n #1
{
- \__kernel_tl_gset:Nx \g_@@_analysis_result_tl
+ \__kernel_tl_gset:Ne \g_@@_analysis_result_tl
{
\@@_analysis_b_loop:w 0; #1
\prg_break_point:
@@ -837,7 +837,7 @@
% in the input stream, and call \cs{@@_analysis_b_normals:ww}
% with its first argument decremented.
% \begin{macrocode}
-\cs_new:Npx \@@_analysis_b_char:Nn #1#2
+\cs_new:Npe \@@_analysis_b_char:Nn #1#2
{
\exp_not:N \if_meaning:w #2 \exp_not:N \tex_undefined:D
\token_to_str:N D \exp_not:N \else:
@@ -1004,9 +1004,9 @@
% as \cs{tl_show:N} by simply calling that function.
% \begin{macrocode}
\cs_new_protected:Npn \tl_analysis_show:N
- { \@@_analysis_show:NNN \msg_show:nnxxxx \tl_show:N }
+ { \@@_analysis_show:NNN \msg_show:nneeee \tl_show:N }
\cs_new_protected:Npn \tl_analysis_log:N
- { \@@_analysis_show:NNN \msg_log:nnxxxx \tl_log:N }
+ { \@@_analysis_show:NNN \msg_log:nneeee \tl_log:N }
\cs_new_protected:Npn \@@_analysis_show:NNN #1#2#3
{
\tl_if_exist:NTF #3
@@ -1024,9 +1024,9 @@
% No existence test needed here.
% \begin{macrocode}
\cs_new_protected:Npn \tl_analysis_show:n
- { \@@_analysis_show:Nn \msg_show:nnxxxx }
+ { \@@_analysis_show:Nn \msg_show:nneeee }
\cs_new_protected:Npn \tl_analysis_log:n
- { \@@_analysis_show:Nn \msg_log:nnxxxx }
+ { \@@_analysis_show:Nn \msg_log:nneeee }
\cs_new_protected:Npn \@@_analysis_show:Nn #1#2
{
\@@_analysis:n {#2}
@@ -1234,7 +1234,7 @@
\cs_new_protected:Npn \@@_peek_analysis_loop:NNn #1#2#3
{
\group_begin:
- \tl_set:Nx \l_@@_peek_code_tl
+ \tl_set:Ne \l_@@_peek_code_tl
{
\exp_not:c
{ @@_analysis_map_ \int_use:N \g__kernel_prg_map_int :nnN }
@@ -1266,8 +1266,8 @@
% \tn{outer} macros, hence the need for \cs{exp_after:wN} and
% \cs{exp_not:N} in the code above, which allows the next function to
% safely grab the token as an argument. We run some code that is
-% expanded using the primitive \cs{cs_set_nopar:Npx} rather than
-% \cs{tl_set:Nx} to avoid grabbing it as an argument as |#1| may be
+% expanded using the primitive \cs{cs_set_nopar:Npe} rather than
+% \cs{tl_set:Ne} to avoid grabbing it as an argument as |#1| may be
% \tn{outer}. To allow~|#1| as an argument of the user's function
% (stored in \cs{l_@@_peek_code_tl}), we set it equal to
% \cs{scan_stop:}, but we do it at the last minute because |#1|
@@ -1293,7 +1293,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_peek_analysis_exp:N #1
{
- \cs_set_nopar:Npx \l_@@_peek_code_tl
+ \cs_set_nopar:Npe \l_@@_peek_code_tl
{
\tex_let:D \exp_not:N #1 \scan_stop:
\exp_not:o \l_@@_peek_code_tl
@@ -1315,7 +1315,7 @@
}
\l_@@_peek_code_tl
}
-\cs_new:Npx \@@_peek_analysis_exp_active:N #1
+\cs_new:Npe \@@_peek_analysis_exp_active:N #1
{ { \exp_not:N \int_value:w `#1 } \token_to_str:N D }
% \end{macrocode}
% For normal non-expandable tokens we must distinguish characters
@@ -1366,7 +1366,7 @@
% \begin{macrocode}
\group_begin:
\char_set_active_eq:NN \ \scan_stop:
-\cs_new_protected:Npx \@@_peek_analysis_char:N #1
+\cs_new_protected:Npe \@@_peek_analysis_char:N #1
{
\cs_set_eq:NN
\char_generate:nn { 32 } { 13 }
@@ -1374,7 +1374,7 @@
\tex_lccode:D `#1 = 32 \exp_stop_f:
\tex_lowercase:D
{
- \tl_put_right:Nx \exp_not:N \l_@@_peek_code_tl
+ \tl_put_right:Ne \exp_not:N \l_@@_peek_code_tl
{ \exp_not:n { \@@_analysis_b_char:Nn \use_none:n } {#1} }
}
\exp_not:n
@@ -1501,7 +1501,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_peek_analysis_active_str:n #1
{
- \tl_put_right:Nx \l_@@_peek_code_tl
+ \tl_put_right:Ne \l_@@_peek_code_tl
{
{ \char_generate:nn { `#1 } { 13 } }
{ \int_value:w `#1 }
@@ -1521,7 +1521,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_peek_analysis_explicit:n #1
{
- \tl_put_right:Nx \l_@@_peek_code_tl
+ \tl_put_right:Ne \l_@@_peek_code_tl
{
\if_meaning:w \l_peek_token \c_space_token
{ ~ } { 32 } \token_to_str:N A
@@ -1601,7 +1601,7 @@
\cs_new_protected:Npn \@@_peek_analysis_collect_end:NNN #1#2#3
{
#1 #2
- \tl_put_right:Nx \l_@@_peek_code_tl
+ \tl_put_right:Ne \l_@@_peek_code_tl
{
{ \exp_not:N \exp_not:n { \exp_not:c { \l_@@_internal_a_tl } } }
{ -1 }
@@ -1619,7 +1619,7 @@
% and its meaning are too long to fit in one line
% of the terminal, the end is replaced by this token list.
% \begin{macrocode}
-\tl_const:Nx \c_@@_analysis_show_etc_str % (
+\tl_const:Ne \c_@@_analysis_show_etc_str % (
{ \token_to_str:N \ETC.) }
% \end{macrocode}
% \end{variable}