diff -r 8ac3803c8f73 -r 5fd94d84470f src/Pure/Isar/outer_syntax.ML --- a/src/Pure/Isar/outer_syntax.ML Tue May 17 10:19:43 2005 +0200 +++ b/src/Pure/Isar/outer_syntax.ML Tue May 17 10:19:44 2005 +0200 @@ -280,7 +280,7 @@ Source.of_list toks |> toplevel_source false true true get_parser |> Source.exhaust - |> map (fn tr => (Toplevel.name_of tr, valOf (Toplevel.source_of tr), tr)); + |> map (fn tr => (Toplevel.name_of tr, the (Toplevel.source_of tr), tr)); (** read theory **) @@ -299,7 +299,7 @@ val pos = Path.position path; val (name', parents, files) = ThyHeader.scan (src, pos); val ml_path = ThyLoad.ml_path name; - val ml_file = if ml andalso isSome (ThyLoad.check_file NONE ml_path) then [ml_path] else []; + val ml_file = if ml andalso is_some (ThyLoad.check_file NONE ml_path) then [ml_path] else []; in if name <> name' then error ("Filename " ^ quote (Path.pack path) ^