summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3toks.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3toks.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3toks.dtx18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3toks.dtx b/Master/texmf-dist/source/latex/l3kernel/l3toks.dtx
index a7e14bc472c..3943db6ac1d 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3toks.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3toks.dtx
@@ -35,7 +35,7 @@
%
%<*driver|package>
\RequirePackage{l3names}
-\GetIdInfo$Id: l3toks.dtx 2818 2011-09-12 14:47:38Z will $
+\GetIdInfo$Id: l3toks.dtx 3086 2011-12-22 17:55:46Z bruno $
{L3 Experimental token registers}
%</driver|package>
%<*driver>
@@ -98,7 +98,7 @@
%
% \begin{macrocode}
%<*package>
-\cs_new_protected_nopar:Npn \toks_new:N #1 {
+\cs_new_protected:Npn \toks_new:N #1 {
\chk_if_free_cs:N #1
\newtoks #1
}
@@ -138,7 +138,7 @@
% and fully.
% \begin{macrocode}
%<*check>
-\cs_new_protected_nopar:Npn \toks_set:Nn #1 { \chk_local:N #1 #1 }
+\cs_new_protected:Npn \toks_set:Nn #1 { \chk_local:N #1 #1 }
\cs_generate_variant:Nn \toks_set:Nn {No,Nf}
%</check>
% \end{macrocode}
@@ -190,7 +190,7 @@
% \begin{macro}{\toks_gset:cx}
% These functions are the global variants of the above.
% \begin{macrocode}
-%<check>\cs_new_protected_nopar:Npn \toks_gset:Nn #1 { \chk_global:N #1 \tex_global:D #1 }
+%<check>\cs_new_protected:Npn \toks_gset:Nn #1 { \chk_global:N #1 \tex_global:D #1 }
%<!check>\cs_new_eq:NN \toks_gset:Nn \tex_global:D
\cs_generate_variant:Nn \toks_gset:Nn {NV,No,Nx,cn,cV,co,cx}
% \end{macrocode}
@@ -215,12 +215,12 @@
% in \meta{toks1}.
% \begin{macrocode}
%<*check>
-\cs_new_protected_nopar:Npn\toks_set_eq:NN #1#2 {
+\cs_new_protected:Npn\toks_set_eq:NN #1#2 {
\chk_local:N #1
\chk_var_or_const:N #2
#1 #2
}
-\cs_new_protected_nopar:Npn\toks_gset_eq:NN #1#2 {
+\cs_new_protected:Npn\toks_gset_eq:NN #1#2 {
\chk_global:N #1
\chk_var_or_const:N #2
\tex_global:D #1 #2
@@ -245,7 +245,7 @@
% \begin{macro}{\toks_clear:N,\toks_gclear:N,\toks_clear:c,\toks_gclear:c}
% These functions clear a token register, either locally or globally.
% \begin{macrocode}
-\cs_new_protected_nopar:Npn \toks_clear:N #1 {
+\cs_new_protected:Npn \toks_clear:N #1 {
#1\c_empty_toks
%<check>\chk_local_or_tex_global:N #1
}
@@ -276,7 +276,7 @@
% interfere with following tokens. In other words, the contents of
% the register might operate on what follows in the input stream.
% \begin{macrocode}
-\cs_new_protected_nopar:Npn \toks_use_clear:N #1 {
+\cs_new_protected:Npn \toks_use_clear:N #1 {
\exp_last_unbraced:NNV \toks_clear:N #1 #1
}
% \end{macrocode}
@@ -331,7 +331,7 @@
% tokens once. We need to look out for brace stripping so we add a
% token, which is then later removed.
% \begin{macrocode}
-\cs_new_protected_nopar:Npn \toks_put_left:Nn #1 {
+\cs_new_protected:Npn \toks_put_left:Nn #1 {
\exp_after:wN \toks_put_left_aux:w \exp_after:wN \q_nil
\toks_use:N #1 \q_stop #1
}