[latex3-commits] [git/LaTeX3-latex3-latex3] master: slightly faster tl_if_head_is_group:n (3af4f2fa6)
Bruno Le Floch
blflatex at gmail.com
Tue Oct 27 09:11:58 CET 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/3af4f2fa6e47ebe28f9fb642bd3dc7eb56ec8193
>---------------------------------------------------------------
commit 3af4f2fa6e47ebe28f9fb642bd3dc7eb56ec8193
Author: Jonathan Spratte <jspratte at yahoo.de>
Date: Sun Aug 9 18:24:12 2020 +0200
slightly faster tl_if_head_is_group:n
>---------------------------------------------------------------
3af4f2fa6e47ebe28f9fb642bd3dc7eb56ec8193
l3kernel/l3tl.dtx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index d4a1987e8..ae9efc6ba 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -3146,10 +3146,10 @@
% \begin{macrocode}
\prg_new_conditional:Npnn \tl_if_head_is_group:n #1 { p , T , F , TF }
{
- \if_catcode:w
+ \if:w
\exp_after:wN \use_none:n
\exp_after:wN { \exp_after:wN { \token_to_str:N #1 ? } }
- * *
+ \scan_stop: \scan_stop:
\prg_return_false:
\else:
\prg_return_true:
More information about the latex3-commits
mailing list.