summaryrefslogtreecommitdiff
path: root/tex/context/base
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base')
-rw-r--r--tex/context/base/context.tex2
-rw-r--r--tex/context/base/java-ini.tex25
-rw-r--r--tex/context/base/supp-fil.tex3
3 files changed, 6 insertions, 24 deletions
diff --git a/tex/context/base/context.tex b/tex/context/base/context.tex
index e60b14383..7c0376c6e 100644
--- a/tex/context/base/context.tex
+++ b/tex/context/base/context.tex
@@ -31,7 +31,7 @@
%D 2004.8.30 the low level interface is english. Watch out and adapt
%D your styles an modules.
-\def\contextversion{2005.03.01}
+\def\contextversion{2005.03.02}
%D Welcome to the main module. When this module is ran through
%D \type{initex} or \type {tex -i} or \type {whatevertex} using
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 }}
diff --git a/tex/context/base/supp-fil.tex b/tex/context/base/supp-fil.tex
index 20c25b2fc..c7a81a9cb 100644
--- a/tex/context/base/supp-fil.tex
+++ b/tex/context/base/supp-fil.tex
@@ -87,6 +87,9 @@
\def\popendofline
{\catcode\newlinecode\csname :eol:\endoflinelevel\endcsname
\fastdecrement\endoflinelevel}
+
+\def\restoreendofline
+ {\catcode\newlinecode\@@endofline}
%D \macros
%D {scratchread, scratchwrite}