summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/syst-gen.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/syst-gen.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/syst-gen.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/syst-gen.tex b/Master/texmf-dist/tex/context/base/syst-gen.tex
index 94a622c76c8..626c1445bba 100644
--- a/Master/texmf-dist/tex/context/base/syst-gen.tex
+++ b/Master/texmf-dist/tex/context/base/syst-gen.tex
@@ -168,7 +168,7 @@
%D nesting deeper than one level, the system shows the
%D protection level.
-\newcount\protectionlevel
+\ifx\protectionlevel\undefined \newcount\protectionlevel \fi
\ifx\protect\undefined
\def\protect{\writestatus{protection}{too much protection}}
@@ -365,6 +365,8 @@
\newcount \zerocount
\newcount \minusone
\minusone = -1
+\newcount \minustwo
+ \minustwo = -2
\chardef \plusone = 1
\chardef \plustwo = 2
@@ -2237,8 +2239,8 @@
\def\unexpandedaction#1>{}
\def\noexpandedaction#1#2%
- {\def\convertedargument{#2}%
- \@EA\edef\@EA#1\@EA{\@EA\unexpandedaction\meaning\convertedargument}}
+ {\def\@@convertedargument{#2}%
+ \@EA\edef\@EA#1\@EA{\@EA\unexpandedaction\meaning\@@convertedargument}}
\def\dontexpandactions%
{\let\expandedaction\noexpandedaction}