tuned msg;
authorwenzelm
Sun, 05 Jun 2005 11:31:33 +0200
changeset 16269 2c05a7f662a3
parent 16268 d978482479d3
child 16270 4280d6bbc1bb
tuned msg;
src/Pure/Thy/thy_load.ML
--- a/src/Pure/Thy/thy_load.ML	Sun Jun 05 11:31:32 2005 +0200
+++ b/src/Pure/Thy/thy_load.ML	Sun Jun 05 11:31:33 2005 +0200
@@ -110,10 +110,12 @@
 local
 
 fun check_thy_aux (name, ml) =
-  (case check_file NONE (thy_path name) of
-    NONE => error ("Could not find theory file for " ^ quote name ^ " in dir(s) " ^
-      commas_quote (show_path ()))
-  | SOME thy_info => (thy_info, if ml then check_file NONE (ml_path name) else NONE));
+  let val thy_file = thy_path name in
+    case check_file NONE thy_file of
+      NONE => error ("Could not find theory file " ^ quote (Path.pack thy_file) ^
+        " in dir(s) " ^ commas_quote (show_path ()))
+    | SOME thy_info => (thy_info, if ml then check_file NONE (ml_path name) else NONE)
+  end;
 
 in