summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3kernel/l3basics.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3basics.dtx')
-rw-r--r--macros/latex/contrib/l3kernel/l3basics.dtx42
1 files changed, 21 insertions, 21 deletions
diff --git a/macros/latex/contrib/l3kernel/l3basics.dtx b/macros/latex/contrib/l3kernel/l3basics.dtx
index 46401b132e..b3da7c9bb3 100644
--- a/macros/latex/contrib/l3kernel/l3basics.dtx
+++ b/macros/latex/contrib/l3kernel/l3basics.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-07-12}
+% \date{Released 2021-08-27}
%
% \maketitle
%
@@ -1777,12 +1777,12 @@
% \begin{macrocode}
\cs_set_protected:Npn \debug_on:n #1
{
- \__kernel_msg_error:nnx { debug } { enable-debug }
+ \msg_error:nnx { debug } { enable-debug }
{ \tl_to_str:n { \debug_on:n {#1} } }
}
\cs_set_protected:Npn \debug_off:n #1
{
- \__kernel_msg_error:nnx { debug } { enable-debug }
+ \msg_error:nnx { debug } { enable-debug }
{ \tl_to_str:n { \debug_off:n {#1} } }
}
% \end{macrocode}
@@ -1955,7 +1955,7 @@
{ \@@_generate_conditional:nnNNNnnn {#1} {#2} #3 #4 #5 }
{ \tl_count:n {#2} }
{
- \__kernel_msg_error:nnxx { kernel } { bad-number-of-arguments }
+ \msg_error:nnxx { kernel } { bad-number-of-arguments }
{ \token_to_str:c { #1 : #2 } }
{ \tl_count:n {#2} }
\use_none:nn
@@ -1993,7 +1993,7 @@
\cs_set_protected:Npn \@@_generate_conditional:nnNNNnnn #1#2#3#4#5#6#7#8
{
\if_meaning:w \c_false_bool #3
- \__kernel_msg_error:nnx { kernel } { missing-colon }
+ \msg_error:nnx { kernel } { missing-colon }
{ \token_to_str:c {#1} }
\exp_after:wN \use_none:nn
\fi:
@@ -2033,7 +2033,7 @@
\use:c { @@_generate_ #8 _form:wNNnnnnN }
\tl_if_empty:nF {#8}
{
- \__kernel_msg_error:nnxx
+ \msg_error:nnxx
{ kernel } { conditional-form-unknown }
{#8} { \token_to_str:c { #3 : #4 } }
}
@@ -2087,7 +2087,7 @@
{ #7 \@@_p_true:w \fi: \c_false_bool }
}
{
- \__kernel_msg_error:nnx { kernel } { protected-predicate }
+ \msg_error:nnx { kernel } { protected-predicate }
{ \token_to_str:c { #4 _p: #5 } }
}
}
@@ -2178,12 +2178,12 @@
\cs_set_protected:Npn \@@_set_eq_conditional:nnNnnNNw #1#2#3#4#5#6
{
\if_meaning:w \c_false_bool #3
- \__kernel_msg_error:nnx { kernel } { missing-colon }
+ \msg_error:nnx { kernel } { missing-colon }
{ \token_to_str:c {#1} }
\exp_after:wN \@@_use_none_delimit_by_q_recursion_stop:w
\fi:
\if_meaning:w \c_false_bool #6
- \__kernel_msg_error:nnx { kernel } { missing-colon }
+ \msg_error:nnx { kernel } { missing-colon }
{ \token_to_str:c {#4} }
\exp_after:wN \@@_use_none_delimit_by_q_recursion_stop:w
\fi:
@@ -2197,7 +2197,7 @@
\use:c { @@_set_eq_conditional_ #6 _form:wNnnnn }
\tl_if_empty:nF {#6}
{
- \__kernel_msg_error:nnxx
+ \msg_error:nnxx
{ kernel } { conditional-form-unknown }
{#6} { \token_to_str:c { #1 : #2 } }
}
@@ -2516,14 +2516,14 @@
% only temporary, they will be redefined later on.
%
% \begin{macro}
-% {\__kernel_msg_error:nnxx, \__kernel_msg_error:nnx, \__kernel_msg_error:nn}
+% {\msg_error:nnxx, \msg_error:nnx, \msg_error:nn}
% If an internal error occurs before \LaTeX3 has loaded \pkg{l3msg} then
% the code should issue a usable if terse error message and halt. This
% can only happen if a coding error is made by the team, so this is
% a reasonable response. Setting the \tn{newlinechar} is needed, to
% turn |^^J| into a proper line break in plain \TeX{}.
% \begin{macrocode}
-\cs_set_protected:Npn \__kernel_msg_error:nnxx #1#2#3#4
+\cs_set_protected:Npn \msg_error:nnxx #1#2#3#4
{
\tex_newlinechar:D = `\^^J \scan_stop:
\tex_errmessage:D
@@ -2536,10 +2536,10 @@
}
\tex_end:D
}
-\cs_set_protected:Npn \__kernel_msg_error:nnx #1#2#3
- { \__kernel_msg_error:nnxx {#1} {#2} {#3} { } }
-\cs_set_protected:Npn \__kernel_msg_error:nn #1#2
- { \__kernel_msg_error:nnxx {#1} {#2} { } { } }
+\cs_set_protected:Npn \msg_error:nnx #1#2#3
+ { \msg_error:nnxx {#1} {#2} {#3} { } }
+\cs_set_protected:Npn \msg_error:nn #1#2
+ { \msg_error:nnxx {#1} {#2} { } { } }
% \end{macrocode}
% \end{macro}
%
@@ -2576,7 +2576,7 @@
{
\cs_if_free:NF #1
{
- \__kernel_msg_error:nnxx { kernel } { command-already-defined }
+ \msg_error:nnxx { kernel } { command-already-defined }
{ \token_to_str:N #1 } { \token_to_meaning:N #1 }
}
}
@@ -2876,7 +2876,7 @@
{
\__kernel_cs_parm_from_arg_count:nnF { \use:nnn #2 #1 } {#3}
{
- \__kernel_msg_error:nnxx { kernel } { bad-number-of-arguments }
+ \msg_error:nnxx { kernel } { bad-number-of-arguments }
{ \token_to_str:N #1 } { \int_eval:n {#3} }
\use_none:n
}
@@ -2957,14 +2957,14 @@
{ \tl_map_function:nN {#2} \@@_generate_from_signature:n }
\tl_if_empty:oF \@@_tmp:w
{
- \__kernel_msg_error:nnxxx { kernel } { non-base-function }
+ \msg_error:nnxxx { kernel } { non-base-function }
{ \token_to_str:N #5 } {#2} { \@@_tmp:w }
}
\cs_generate_from_arg_count:NNnn
#5 #4 { \tl_count:n {#2} } {#6}
}
{
- \__kernel_msg_error:nnx { kernel } { missing-colon }
+ \msg_error:nnx { kernel } { missing-colon }
{ \token_to_str:N #5 }
}
}
@@ -3095,7 +3095,7 @@
\cs_if_exist:NTF #1
{#2}
{
- \__kernel_msg_error:nnx { kernel } { variable-not-defined }
+ \msg_error:nnx { kernel } { variable-not-defined }
{ \token_to_str:N #1 }
}
}