diff options
author | Karl Berry <karl@freefriends.org> | 2009-11-22 00:01:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-11-22 00:01:52 +0000 |
commit | c8f25e8c064910cbdae63d68ad0b753dcd925264 (patch) | |
tree | 50cd44cf48c386388aadae1d16b1adae5f917034 /Master/texmf-dist/source/latex/expl3/l3tl.dtx | |
parent | 3a4d88244a662af906112c56eb1982f9dacef5b2 (diff) |
expl3 1733 (21nov09)
git-svn-id: svn://tug.org/texlive/trunk@16114 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/expl3/l3tl.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/expl3/l3tl.dtx | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/expl3/l3tl.dtx b/Master/texmf-dist/source/latex/expl3/l3tl.dtx index 24d4ba86672..3e478643e76 100644 --- a/Master/texmf-dist/source/latex/expl3/l3tl.dtx +++ b/Master/texmf-dist/source/latex/expl3/l3tl.dtx @@ -36,7 +36,7 @@ \RequirePackage{l3names} %</driver|package> %\fi -\GetIdInfo$Id: l3tl.dtx 1505 2009-09-03 20:29:19Z joseph $ +\GetIdInfo$Id: l3tl.dtx 1621 2009-10-25 06:36:19Z will $ {L3 Experimental Token Lists} %\iffalse %<*driver> @@ -603,7 +603,7 @@ % \end{variable} % % \begin{variable}{% -% \g_tl_inline_level_num | +% \g_tl_inline_level_int | % } % Internal register used in the inline map functions. % \end{variable}% @@ -1664,33 +1664,31 @@ % \begin{macro}{\tl_map_inline:Nn} % \begin{macro}{\tl_map_inline:cn} % \begin{macro}[aux]{\tl_map_inline_aux:n} -% \begin{macro}{\g_tl_inline_level_num} +% \begin{macro}{\g_tl_inline_level_int} % The inline functions are straight forward by now. We use a little -% trick with the fake counter |\g_tl_inline_level_num| to make -% them nestable.\footnote{This should be a proper integer, but I -% don't want to mess with the dependencies right now\dots} We can +% trick with the counter |\g_tl_inline_level_int| to make +% them nestable. We can % also make use of |\tl_map_function:Nn| from before. % \begin{macrocode} \cs_new:Npn \tl_map_inline:nn #1#2{ - \num_gincr:N \g_tl_inline_level_num - \cs_gset:cpn {tl_map_inline_ \num_use:N \g_tl_inline_level_num :n} + \int_gincr:N \g_tl_inline_level_int + \cs_gset:cpn {tl_map_inline_ \int_use:N \g_tl_inline_level_int :n} ##1{#2} \exp_args:Nc \tl_map_function_aux:Nn - {tl_map_inline_ \num_use:N \g_tl_inline_level_num :n} + {tl_map_inline_ \int_use:N \g_tl_inline_level_int :n} #1 \q_recursion_tail\q_recursion_stop - \num_gdecr:N \g_tl_inline_level_num + \int_gdecr:N \g_tl_inline_level_int } \cs_new:Npn \tl_map_inline:Nn #1#2{ - \num_gincr:N \g_tl_inline_level_num - \cs_gset:cpn {tl_map_inline_ \num_use:N \g_tl_inline_level_num :n} + \int_gincr:N \g_tl_inline_level_int + \cs_gset:cpn {tl_map_inline_ \int_use:N \g_tl_inline_level_int :n} ##1{#2} \exp_last_unbraced:NcV \tl_map_function_aux:Nn - {tl_map_inline_ \num_use:N \g_tl_inline_level_num :n} + {tl_map_inline_ \int_use:N \g_tl_inline_level_int :n} #1 \q_recursion_tail\q_recursion_stop - \num_gdecr:N \g_tl_inline_level_num + \int_gdecr:N \g_tl_inline_level_int } \cs_generate_variant:Nn \tl_map_inline:Nn {c} -\tl_new:Nn \g_tl_inline_level_num{0} % \end{macrocode} % \end{macro} % \end{macro} |