src/Pure/Thy/thy_header.ML
changeset 27835 ff8b8513965a
parent 24739 e9f9d4297bda
child 27872 631371a02b8c
--- a/src/Pure/Thy/thy_header.ML	Tue Aug 12 21:27:46 2008 +0200
+++ b/src/Pure/Thy/thy_header.ML	Tue Aug 12 21:27:48 2008 +0200
@@ -51,8 +51,8 @@
 fun read pos src =
   let val res =
     src
-    |> Symbol.source false
-    |> T.source NONE (fn () => (header_lexicon, Scan.empty_lexicon)) pos
+    |> Symbol.source {do_recover = false}
+    |> T.source {do_recover = NONE} (fn () => (header_lexicon, Scan.empty_lexicon)) pos
     |> T.source_proper
     |> Source.source T.stopper (Scan.single (Scan.error (P.!!! header))) NONE
     |> Source.get_single;