summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3build/regression-test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/regression-test.tex')
-rw-r--r--Master/texmf-dist/tex/latex/l3build/regression-test.tex13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/l3build/regression-test.tex b/Master/texmf-dist/tex/latex/l3build/regression-test.tex
index c6ea45f02ac..7e77b55cdda 100644
--- a/Master/texmf-dist/tex/latex/l3build/regression-test.tex
+++ b/Master/texmf-dist/tex/latex/l3build/regression-test.tex
@@ -47,10 +47,15 @@
%%
%% -----------------------------------------------------------------------
%%
-\expandafter\edef\csname reset\string @catcodes\endcsname{%
- \catcode`\noexpand\@=\the\catcode`\@\relax
-}
-\catcode`\@=11 %
+\ifx\unprotect\undefined
+ \expandafter\edef\csname reset\string @catcodes\endcsname{%
+ \catcode`\noexpand\@=\the\catcode`\@\relax
+ }
+ \catcode`\@=11 %
+\else
+ \unprotect
+ \def\reset@catcodes{\protect}%
+\fi
\scrollmode
\errorcontextlines=-1 %
\showboxbreadth=\maxdimen