--- a/src/HOL/Boogie/Tools/boogie_commands.ML Thu Mar 03 18:10:28 2011 +0100
+++ b/src/HOL/Boogie/Tools/boogie_commands.ML Thu Mar 03 18:42:12 2011 +0100
@@ -23,7 +23,7 @@
val base_path = Path.explode base_name |> tap check_ext
val (full_path, _) =
- Thy_Load.check_file [Thy_Load.master_directory thy] base_path
+ Thy_Load.check_file (Thy_Load.master_directory thy) base_path
val _ = Boogie_VCs.is_closed thy orelse
error ("Found the beginning of a new Boogie environment, " ^
--- a/src/HOL/SPARK/Tools/spark_commands.ML Thu Mar 03 18:10:28 2011 +0100
+++ b/src/HOL/SPARK/Tools/spark_commands.ML Thu Mar 03 18:42:12 2011 +0100
@@ -18,8 +18,9 @@
fun spark_open vc_name thy =
let
val (vc_path, _) = Thy_Load.check_file
- [Thy_Load.master_directory thy] (Path.explode vc_name);
- val (base, header) = (case Path.split_ext vc_path of
+ (Thy_Load.master_directory thy) (Path.explode vc_name);
+ val (base, header) =
+ (case Path.split_ext vc_path of
(base, "vcg") => (base, Fdl_Lexer.vcg_header >> K ())
| (base, "siv") => (base, Fdl_Lexer.siv_header >> K ())
| _ => error "File name must end with .vcg or .siv");