diff options
author | Karl Berry <karl@freefriends.org> | 2015-04-30 20:40:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-04-30 20:40:06 +0000 |
commit | 0c6cb8273aa12c6f87a00617d574be31f19ea1ae (patch) | |
tree | a638979024f3e0c284adcbfe0af37f04fa1a0a7b /Master/texmf-dist/tex/latex/l3build/regression-test.tex | |
parent | 25e26e9a00325030747f024cb884bd6d58f4469b (diff) |
l3build (30apr15)
git-svn-id: svn://tug.org/texlive/trunk@37132 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/regression-test.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3build/regression-test.tex | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/l3build/regression-test.tex b/Master/texmf-dist/tex/latex/l3build/regression-test.tex index 792eac0f1e3..6654067138f 100644 --- a/Master/texmf-dist/tex/latex/l3build/regression-test.tex +++ b/Master/texmf-dist/tex/latex/l3build/regression-test.tex @@ -47,7 +47,7 @@ %% %% ----------------------------------------------------------------------- %% -\expandafter\edef\csname\detokenize{reset@catcodes}\endcsname{% +\expandafter\edef\csname reset\string @catcodes\endcsname{% \catcode`\noexpand\@=\the\catcode`\@\relax } \catcode`\@=11 % @@ -106,11 +106,13 @@ \fi \def\END {% - \ifnum\currentgrouplevel>0 % - \LONGTYPEOUT{Bad grouping: \the\currentgrouplevel!}% - \fi - \ifnum\currentiflevel>1 % - \LONGTYPEOUT{Bad conditionals: \the\numexpr\currentiflevel-1!}% + \ifx\currentiflevel\@undefined\else + \ifnum\currentgrouplevel>0 % + \LONGTYPEOUT{Bad grouping: \the\currentgrouplevel!}% + \fi + \ifnum\currentiflevel>2 % + \LONGTYPEOUT{Bad conditionals: \the\numexpr\currentiflevel-2!}% + \fi \fi \LONGTYPEOUT{END-TEST-LOG}\@@@end } |