summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3tl.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3tl.dtx14
1 files changed, 6 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx b/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx
index 4601ed05408..59ca4930274 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx
@@ -35,7 +35,7 @@
%
%<*driver|package>
\RequirePackage{l3names}
-\GetIdInfo$Id: l3tl.dtx 2831 2011-09-16 03:47:54Z bruno $
+\GetIdInfo$Id: l3tl.dtx 2929 2011-10-22 13:00:20Z bruno $
{L3 Experimental token lists}
%</driver|package>
%<*driver>
@@ -68,7 +68,7 @@
% \begin{documentation}
%
% \TeX{} works with tokens, and \LaTeX3 therefore provides a number of
-% functions to deal with token lists. Token lists may be present direct in
+% functions to deal with token lists. Token lists may be present directly in
% the argument to a function:
% \begin{verbatim}
% \foo:n { a collection of \tokens }
@@ -1379,13 +1379,12 @@
\exp_args:NNNo \group_end:
#1 #2 \l_tl_rescan_tl
}
-\cs_new_nopar:Npx \tl_rescan_aux:w
+\use:x
{
- \cs_set_protected:Npn \exp_not:N \tl_rescan_aux:w ##1
+ \cs_new_protected:Npn \exp_not:N \tl_rescan_aux:w ##1
\c_tl_rescan_marker_tl
{ \tl_set:Nn \exp_not:N \l_tl_rescan_tl {##1} }
}
-\tl_rescan_aux:w
\cs_generate_variant:Nn \tl_set_rescan:Nnn { Nno }
\cs_generate_variant:Nn \tl_set_rescan:Nnn { c , cno }
\cs_generate_variant:Nn \tl_gset_rescan:Nnn { Nno }
@@ -2238,15 +2237,14 @@
% \begin{macrocode}
\prg_new_conditional:Npnn \tl_if_head_group:n #1 { p , T , F , TF }
{
- \if_predicate:w
+ \if_catcode:w *
\exp_after:wN \use_none:n
\exp_after:wN {
\exp_after:wN {
\token_to_str:N #1 ?
}
- \c_false_bool
}
- \c_true_bool
+ *
\prg_return_false:
\else:
\prg_return_true: