summaryrefslogtreecommitdiff
path: root/tex/context/base/core-job.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-job.tex')
-rw-r--r--tex/context/base/core-job.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/core-job.tex b/tex/context/base/core-job.tex
index 10c601786..b7e203240 100644
--- a/tex/context/base/core-job.tex
+++ b/tex/context/base/core-job.tex
@@ -249,12 +249,12 @@
%\the\everybye %
%\the\everygoodbye % == \end (new)
%\expandafter\normalend %
- \expandafter\end
+ \expandafter\finalend
\fi}
-\let\normalend=\end
+\let\normalend\end
-\def\end
+\def\finalend
{\ifnum\textlevel>\zerocount \else
\the\everybye
\the\everygoodbye
@@ -263,6 +263,8 @@
\expandafter\normalend
\fi}
+\let\end\finalend
+
\def\emergencyend
{\writestatus\m!systems{invalid \@EA\string\csname\e!start\v!text\endcsname...\@EA\string\csname\e!stop\v!text\endcsname\space structure}%
\stoptext}