summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/xpackages/xparse-test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/xpackages/xparse-test.tex')
-rw-r--r--Master/texmf-dist/source/latex/xpackages/xparse-test.tex26
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/xpackages/xparse-test.tex b/Master/texmf-dist/source/latex/xpackages/xparse-test.tex
index 9c576bfae11..f0071b021ab 100644
--- a/Master/texmf-dist/source/latex/xpackages/xparse-test.tex
+++ b/Master/texmf-dist/source/latex/xpackages/xparse-test.tex
@@ -1,5 +1,5 @@
% \iffalse
-%% (C) Copyright 2000-2008 LaTeX3 Project
+%% (C) Copyright 2000-2009 LaTeX3 Project
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3a of this
@@ -32,7 +32,7 @@
%%
%% -----------------------------------------------------------------------
%%
-%% $Id: xparse-test.tex 752 2008-08-03 19:16:44Z morten $
+%% $Id: xparse-test.tex 1194 2009-04-19 15:07:07Z will $
%%
% \fi
%
@@ -50,13 +50,13 @@
\ExplSyntaxOn
\makeatletter
% Let's just take the error messages for a ride:
-\def:Npn \makebox{}
+\cs_set_nopar:Npn \makebox{}
% Here should be an error because it is defined
\NewDocumentCommand \makebox {m}{Gobbledygook}
\cs_gundefine:N \makebox
% And now one for being undefined
\RenewDocumentCommand \makebox {m}{More~gobbledygook}
-\let:NN \makebox \scan_stop:
+\cs_set_eq:NN \makebox \scan_stop:
% Another one for being undefined
\RenewDocumentCommand \makebox {m}{Even~more~gobbledygook}
% Now it should work
@@ -81,7 +81,7 @@
\leavevmode
\@begin@tempboxa\hbox{#3}
\setlength\@tempdima{#1}
- \if_meaning:NN #4\fbox
+ \if_meaning:w #4\fbox
\setbox\@tempboxa\hb@xt@\@tempdima{
\kern\fboxsep
\use:c{bm@#2}
@@ -99,15 +99,15 @@
#5
{
\vbox to#2\unitlength {
- \let:NN \mb@b\vss \let:NN \mb@l\hss
- \let:NN \mb@r\hss \let:NN \mb@t\vss
+ \cs_set_eq:NN \mb@b\vss \cs_set_eq:NN \mb@l\hss
+ \cs_set_eq:NN \mb@r\hss \cs_set_eq:NN \mb@t\vss
\IfNoValueF{#3}{
- \tlist_map_variable:nNn {#3}\l_tmpa_tlp {
- \if:w s\l_tmpa_tlp
- \let:NN \mb@l \scan_stop:
- \let:NN \mb@r \scan_stop:
+ \tl_map_variable:nNn {#3}\l_tmpa_tl {
+ \if:w s\l_tmpa_tl
+ \cs_set_eq:NN \mb@l \scan_stop:
+ \cs_set_eq:NN \mb@r \scan_stop:
\else:
- \let:cN {mb@\l_tmpa_tlp}\scan_stop:
+ \cs_set_eq:cN {mb@\l_tmpa_tl}\scan_stop:
\fi:
}
}
@@ -129,7 +129,7 @@
}
-\def:Npn \showgrabbedargs{\showthe\l_xparse_grabbed_args_toks}
+\cs_set_nopar:Npn \showgrabbedargs{\showthe\l_xparse_grabbed_args_toks}
\makeatother
\ExplSyntaxOff