src/Pure/Isar/outer_syntax.ML
changeset 8078 c6da7585f9d1
parent 7940 def6db239934
child 8191 6483e7132a70
equal deleted inserted replaced
8077:5c7b133fd26f 8078:c6da7585f9d1
   327     val ml_path = ThyLoad.ml_path name;
   327     val ml_path = ThyLoad.ml_path name;
   328     val ml_file = if ml andalso is_some (ThyLoad.check_file ml_path) then [ml_path] else [];
   328     val ml_file = if ml andalso is_some (ThyLoad.check_file ml_path) then [ml_path] else [];
   329   in
   329   in
   330     if name <> name' then
   330     if name <> name' then
   331       error ("Filename " ^ quote (Path.pack path) ^
   331       error ("Filename " ^ quote (Path.pack path) ^
   332         " does not agree with theory name " ^ quote name)
   332         " does not agree with theory name " ^ quote name')
   333     else (parents, map (Path.unpack o #1) files @ ml_file)
   333     else (parents, map (Path.unpack o #1) files @ ml_file)
   334   end;
   334   end;
   335 
   335 
   336 end;
   336 end;
   337 
   337