diff options
author | Karl Berry <karl@freefriends.org> | 2011-08-13 22:19:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-08-13 22:19:08 +0000 |
commit | 5730d1c679f7a725b75ce80066cc6a6987aee888 (patch) | |
tree | def203d2e98df13d7d8b1f97444810f2c685a974 /Master/texmf-dist/source/latex/l3kernel/l3expan.dtx | |
parent | 8fdbc868b3cd64d89d3b4a172779aea071a118c5 (diff) |
l3kernel 2564 (13aug11)
git-svn-id: svn://tug.org/texlive/trunk@23540 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3expan.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3expan.dtx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx index 5b37fd49aaf..915e48dec15 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx @@ -35,7 +35,7 @@ % %<*driver|package> \RequirePackage{l3names} -\GetIdInfo$Id: l3expan.dtx 2480 2011-06-20 17:25:23Z bruno $ +\GetIdInfo$Id: l3expan.dtx 2545 2011-08-11 13:47:19Z bruno $ {L3 Experimental argument expansion} %</driver|package> %<*driver> @@ -845,17 +845,18 @@ % result is an error message looking like this: % \begin{verbatim} % ! Undefined control sequence. -% \exp_eval_error_msg:w ...erroneous variable used! -% +% <argument> \LaTeX3 error: +% Erroneous variable used! % l.55 \tl_set:Nv \l_tmpa_tl {undefined_tl} % \end{verbatim} % \begin{macrocode} -\group_begin:% -\tex_catcode:D`\!=11\scan_stop:% -\tex_catcode:D`\ =11\scan_stop:% -\cs_new:Npn\exp_eval_error_msg:w#1\tex_the:D#2{% -\fi:\fi:\exp_after:wN\c_zero\erroneous variable used!}% -\group_end:% +\cs_new:Npn \exp_eval_error_msg:w #1 \tex_the:D #2 + { + \fi: + \fi: + \msg_expandable_error:n { Erroneous ~ variable ~ #2 used! } + \c_zero + } % \end{macrocode} % \end{macro} % \end{macro} |