[latex3-commits] [git/LaTeX3-latex3-latex3] main: Avoid indexing some conditionals without TF (see #1016) (ca50d41fe)
Bruno Le Floch
blflatex at gmail.com
Tue Nov 9 10:04:53 CET 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/ca50d41fe6fec14e39389e895b97f555da41e6f8
>---------------------------------------------------------------
commit ca50d41fe6fec14e39389e895b97f555da41e6f8
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Tue Nov 9 10:04:53 2021 +0100
Avoid indexing some conditionals without TF (see #1016)
>---------------------------------------------------------------
ca50d41fe6fec14e39389e895b97f555da41e6f8
l3kernel/l3basics.dtx | 2 +-
l3kernel/l3cctab.dtx | 2 +-
l3kernel/l3str.dtx | 4 ++--
l3kernel/l3tl.dtx | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/l3kernel/l3basics.dtx b/l3kernel/l3basics.dtx
index d54bc9a70..a9d830674 100644
--- a/l3kernel/l3basics.dtx
+++ b/l3kernel/l3basics.dtx
@@ -1203,7 +1203,7 @@
% Tests whether the \meta{control sequence} is currently free to
% be defined. This test is \texttt{false} if the
% \meta{control sequence} currently exists (as defined by
-% \cs{cs_if_exist:N}).
+% \cs{cs_if_exist:NTF}).
% \end{function}
%
% \subsection{Primitive conditionals}
diff --git a/l3kernel/l3cctab.dtx b/l3kernel/l3cctab.dtx
index 0d53ada53..eb9524e86 100644
--- a/l3kernel/l3cctab.dtx
+++ b/l3kernel/l3cctab.dtx
@@ -699,7 +699,7 @@
%
% \subsection{Category code table conditionals}
%
-% \begin{macro}{\cctab_if_exist:N,\cctab_if_exist:c}
+% \begin{macro}[pTF]{\cctab_if_exist:N,\cctab_if_exist:c}
% Checks whether a \meta{cctab~var} is defined.
% \begin{macrocode}
\prg_new_eq_conditional:NNn \cctab_if_exist:N \cs_if_exist:N
diff --git a/l3kernel/l3str.dtx b/l3kernel/l3str.dtx
index 65c442865..a0c15285e 100644
--- a/l3kernel/l3str.dtx
+++ b/l3kernel/l3str.dtx
@@ -1187,8 +1187,8 @@
%
% \begin{macro}[EXP, pTF]
% {\str_if_eq:NN, \str_if_eq:Nc, \str_if_eq:cN, \str_if_eq:cc}
-% Note that \cs{str_if_eq:NN} is different from
-% \cs{tl_if_eq:NN} because it needs to ignore category codes.
+% Note that \cs{str_if_eq:NNTF} is different from
+% \cs{tl_if_eq:NNTF} because it needs to ignore category codes.
% \begin{macrocode}
\prg_new_conditional:Npnn \str_if_eq:NN #1#2 { p , TF , T , F }
{
diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index c60164a99..c765ee60f 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -2299,7 +2299,7 @@
% The \cs{if_false:} constructions are a faster way to do
% \cs{group_align_safe_begin:} and \cs{group_align_safe_end:}.
% The \cs{scan_stop:} ensures that \texttt{f}-expanding
-% \cs{tl_if_in:nn} does not lead to unbalanced braces.
+% \cs{tl_if_in:nnTF} does not lead to unbalanced braces.
% \begin{macrocode}
\prg_new_protected_conditional:Npnn \tl_if_in:nn #1#2 { T , F , TF }
{
@@ -2345,7 +2345,7 @@
% \end{macro}
%
% \begin{macro}[EXP,pTF]{\tl_if_single:N}
-% Expand the token list and feed it to \cs{tl_if_single:n}.
+% Expand the token list and feed it to \cs{tl_if_single:nTF}.
% \begin{macrocode}
\cs_new:Npn \tl_if_single_p:N { \exp_args:No \tl_if_single_p:n }
\cs_new:Npn \tl_if_single:NT { \exp_args:No \tl_if_single:nT }
More information about the latex3-commits
mailing list.