summaryrefslogtreecommitdiff
path: root/tex/context/base/core-fil.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-fil.tex')
-rw-r--r--tex/context/base/core-fil.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/core-fil.tex b/tex/context/base/core-fil.tex
index b866f478e..39fb5be66 100644
--- a/tex/context/base/core-fil.tex
+++ b/tex/context/base/core-fil.tex
@@ -257,8 +257,10 @@
{\doifnotflagged{#2}
{\let#1\undefined
\startreadingfile
+ \bgroup
\cleanupfeatures % better \setnormalcatcodes / test first
\readfile{#2}\donothing\donothing
+ \egroup
\stopreadingfile
\doglobal\setflag{#2}}%
\ifx#1\undefined