diff -r 04562d200f02 -r ff8b8513965a src/HOL/Import/import_syntax.ML --- a/src/HOL/Import/import_syntax.ML Tue Aug 12 21:27:46 2008 +0200 +++ b/src/HOL/Import/import_syntax.ML Tue Aug 12 21:27:48 2008 +0200 @@ -156,11 +156,11 @@ val inp = TextIO.inputAll is val _ = TextIO.closeIn is val orig_source = Source.of_string inp - val symb_source = Symbol.source false orig_source + val symb_source = Symbol.source {do_recover = false} orig_source val lexes = ref (Scan.make_lexicon (map Symbol.explode ["import_segment","ignore_thms","import","end",">","::","const_maps","const_moves","thm_maps","const_renames","type_maps","def_maps"]), Scan.empty_lexicon) val get_lexes = fn () => !lexes - val token_source = OuterLex.source NONE get_lexes Position.start symb_source + val token_source = OuterLex.source {do_recover = NONE} get_lexes Position.start symb_source val token_list = filter_out (OuterLex.is_kind OuterLex.Space) (Source.exhaust token_source) val import_segmentP = OuterParse.$$$ "import_segment" |-- import_segment val type_mapsP = OuterParse.$$$ "type_maps" |-- type_maps