[latex3-commits] [latex3/latex3] main: Mark a flag as internal (84ab19fa0)
github at latex-project.org
github at latex-project.org
Fri Dec 8 09:44:15 CET 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/84ab19fa05b24131dd1921b7f11187d3df5da2e7
>---------------------------------------------------------------
commit 84ab19fa05b24131dd1921b7f11187d3df5da2e7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Dec 8 08:44:15 2023 +0000
Mark a flag as internal
>---------------------------------------------------------------
84ab19fa05b24131dd1921b7f11187d3df5da2e7
l3kernel/l3str-convert.dtx | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/l3kernel/l3str-convert.dtx b/l3kernel/l3str-convert.dtx
index 9a10bebb2..ed8d63685 100644
--- a/l3kernel/l3str-convert.dtx
+++ b/l3kernel/l3str-convert.dtx
@@ -2164,7 +2164,7 @@
% \begin{macrocode}
\flag_clear_new:n { @@_missing }
\flag_clear_new:n { @@_extra }
- \flag_clear_new:n { str_end }
+ \flag_clear_new:n { @@_end }
\msg_new:nnnn { str } { utf16-encode }
{ Unicode~string~cannot~be~expressed~in~UTF-16:~surrogate. }
{
@@ -2179,7 +2179,7 @@
{
\@@_if_flag_times:nT { @@_missing } { ,~missing~trail~surrogate }
\@@_if_flag_times:nT { @@_extra } { ,~extra~trail~surrogate }
- \@@_if_flag_times:nT { str_end } { ,~odd~number~of~bytes }
+ \@@_if_flag_times:nT { @@_end } { ,~odd~number~of~bytes }
}
.
}
@@ -2206,7 +2206,7 @@
\\\\
LaTeX~came~across~a~trail~surrogate~when~it~was~not~expected.
}
- \flag_if_raised:nT { str_end }
+ \flag_if_raised:nT { @@_end }
{
\\\\
The~string~contained~an~odd~number~of~bytes.~This~is~invalid:~
@@ -2263,7 +2263,7 @@
\flag_clear:n { @@_error }
\flag_clear:n { @@_missing }
\flag_clear:n { @@_extra }
- \flag_clear:n { str_end }
+ \flag_clear:n { @@_end }
\cs_set:Npn \@@_tmp:w ##1 ##2 { ` ## #1 }
\__kernel_tl_gset:Ne \g_@@_result_tl
{
@@ -2456,7 +2456,7 @@
% \end{macro}
% \end{macro}
%
-% \begin{variable}{@@_overflow, str_end}
+% \begin{variable}{@@_overflow, @@_end}
% There can be no error when encoding in \textsc{utf-32}. When
% decoding, the string may not have length $4n$, or it may contain
% code points larger than \hexnum{10FFFF}. The latter case often
@@ -2464,14 +2464,14 @@
% most arbitrary strings are not valid in \textsc{utf-32}.
% \begin{macrocode}
\flag_clear_new:n { @@_overflow }
- \flag_clear_new:n { str_end }
+ \flag_clear_new:n { @@_end }
\msg_new:nnnn { str } { utf32-decode }
{
Invalid~UTF-32~string:
\exp_last_unbraced:Nf \use_none:n
{
\@@_if_flag_times:nT { @@_overflow } { ,~code~point~too~large }
- \@@_if_flag_times:nT { str_end } { ,~truncated~string }
+ \@@_if_flag_times:nT { @@_end } { ,~truncated~string }
}
.
}
@@ -2485,7 +2485,7 @@
the~maximum~code~point~defined~by~Unicode.~
Perhaps~the~string~was~not~encoded~in~the~UTF-32~encoding?
}
- \flag_if_raised:nT { str_end }
+ \flag_if_raised:nT { @@_end }
{
\\\\
The~length~of~the~string~is~not~a~multiple~of~4.~
@@ -2550,7 +2550,7 @@
\cs_new_protected:Npn \@@_decode_utf_xxxii:Nw #1#2 \s_@@_stop
{
\flag_clear:n { @@_overflow }
- \flag_clear:n { str_end }
+ \flag_clear:n { @@_end }
\flag_clear:n { @@_error }
\cs_set:Npn \@@_tmp:w ##1 ##2 { ` ## #1 }
\__kernel_tl_gset:Ne \g_@@_result_tl
@@ -2588,7 +2588,7 @@
{
\tl_if_empty:nF {#1}
{
- \flag_raise:n { str_end }
+ \flag_raise:n { @@_end }
\flag_raise:n { @@_error }
#1 \s_@@
\int_use:N \c_@@_replacement_char_int \s_@@
More information about the latex3-commits
mailing list.