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/tex/latex/l3kernel/l3msg.sty | |
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/tex/latex/l3kernel/l3msg.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/l3msg.sty | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty b/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty index bf1d732514f..43ccc081d3d 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty +++ b/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty @@ -46,7 +46,7 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{l3names} -\GetIdInfo$Id: l3msg.dtx 2478 2011-06-19 21:34:23Z joseph $ +\GetIdInfo$Id: l3msg.dtx 2551 2011-08-11 22:40:53Z bruno $ {L3 Experimental messages} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -539,6 +539,13 @@ LaTeX~has~been~asked~to~recover~an~entry~from~a~sequence~that~ has~no~content:~that~cannot~happen! } +\msg_kernel_new:nnnn { tl } { empty-search-pattern } + { Empty~search~pattern. } + { + \c_msg_coding_error_text_tl + LaTeX~has~been~asked~to~replace~an~empty~pattern~by~'#1':~that~% + would~lead~to~an~infinite~loop! + } \cs_set_protected:Npn \msg_kernel_bug:x #1 { \msg_interrupt:xxx { \c_msg_kernel_bug_text_tl } @@ -556,6 +563,18 @@ This~probably~needs~examining~by~an~expert. \c_msg_return_text_tl } +\group_begin: +\cs_new:Npx \msg_expandable_error:n #1 + { + \exp_not:n + { + \exp_after:wN \exp_after:wN + \exp_after:wN \use_none_delimit_by_q_stop:w + } + \exp_not:N \use:n { \exp_not:c { LaTeX3 ~ error : } #1 } + \exp_not:N \q_stop + } +\group_end: \cs_new_eq:NN \msg_class_new:nn \msg_class_set:nn \cs_new_eq:NN \msg_trace:nnxxxx \msg_log:nnxxxx \cs_new_eq:NN \msg_trace:nnxxx \msg_log:nnxxx |