summaryrefslogtreecommitdiff
path: root/tex/context/base/java-ini.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/java-ini.tex')
-rw-r--r--tex/context/base/java-ini.tex25
1 files changed, 2 insertions, 23 deletions
diff --git a/tex/context/base/java-ini.tex b/tex/context/base/java-ini.tex
index 09c6cb5cd..7ee080238 100644
--- a/tex/context/base/java-ini.tex
+++ b/tex/context/base/java-ini.tex
@@ -356,30 +356,9 @@
\newcounter\nofJSpreambles
\newcounter\currentJSpreamble
-% \long\def\startJSpreamble#1 #2 %
-% {\bgroup % we need to restore the catcodes
-% \popendofline % just in case it happens while reading lists
-% \doifelse{#2}{used}
-% {\dostartJSpreamble#1 }
-% {\dostartJSpreamble#1 now #2 }}
-%
-% \long\def\dostartJSpreamble#1 #2 #3\stopJSpreamble
-% {\processaction
-% [#2]
-% [ later=>\chardef\JSstatus\zerocount,%
-% now=>\chardef\JSstatus\plusone ,%
-% \s!default=>\chardef\JSstatus\plustwo ,%
-% \s!unknown=>\chardef\JSstatus\plustwo ]%
-% \presetJSfunctions #3function ()\end
-% \long\setgvalue{\r!java\r!java#1}{#3}%
-% \ifcase\JSstatus \else
-% \useJSpreamblenow{#1}%
-% \fi
-% \egroup}
-
\long\def\startJSpreamble#1 #2 %
- {\bgroup % we need to restore the catcodes
- \popendofline % just in case it happens while reading lists
+ {\bgroup % we need to restore the catcodes
+ \restoreendofline % just in case it happens while reading lists
\doifelse{#2}{used}
{\dostartJSpreamble#1 }
{\dostartJSpreamble#1 now #2 }}