[latex3-commits] [l3svn] 06/06: l3build: Require e-TeX

noreply at latex-project.org noreply at latex-project.org
Fri Jun 23 23:14:56 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 90e163a5473a74c7e05f3f09c4f31c965d1e5b25
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jun 23 21:27:28 2017 +0100

    l3build: Require e-TeX
---
 l3build/l3build.dtx |   29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/l3build/l3build.dtx b/l3build/l3build.dtx
index 8ddca4d..a2dfb83 100644
--- a/l3build/l3build.dtx
+++ b/l3build/l3build.dtx
@@ -1309,6 +1309,15 @@
 %
 % \subsection{Preliminaries}
 %
+% We require \eTeX{}.
+%    \begin{macrocode}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname eTeXversion\endcsname\relax
+  \errmessage{e-TeX is required to use regression-test.tex}%
+  \expandafter\endinput
+\fi
+%    \end{macrocode}
+%
 % \begin{macro}{\reset at catcodes}
 %   Unlike in the \LaTeXe{} regression test suite, reset catcodes: each test
 %   should set these as appropriate. There's also a quick test for Con\TeX{}t:
@@ -1401,19 +1410,15 @@
 \else
   \let\@@@end\@@end
 \fi
-\edef\END{%
-  \ifx\currentiflevel\@undefined\else
-    \unexpanded{%
-      \ifnum\currentgrouplevel>0 %
-        \LONGTYPEOUT{Bad grouping: \the\currentgrouplevel!}%
-      \fi
-      \ifnum\currentiflevel>2 %
-        \LONGTYPEOUT{Bad conditionals: \the\numexpr\currentiflevel-2!}%
-      \fi
-    }%
+\def\END{%
+  \ifnum\currentgrouplevel>0 %
+    \LONGTYPEOUT{Bad grouping: \the\currentgrouplevel!}%
+  \fi
+  \ifnum\currentiflevel>2 %
+    \LONGTYPEOUT{Bad conditionals: \the\numexpr\currentiflevel-2!}%
   \fi
-  \noexpand\LONGTYPEOUT{^^JEND-TEST-LOG^^J}%
-  \noexpand\@@@end
+  \LONGTYPEOUT{^^JEND-TEST-LOG^^J}%
+  \@@@end
 }
 \ifx\@@end\@undefined
   \let\end\END

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list