--- a/src/Tools/Code/code_haskell.ML Wed Jun 30 17:12:38 2010 +0200
+++ b/src/Tools/Code/code_haskell.ML Thu Jul 01 08:12:40 2010 +0200
@@ -382,7 +382,7 @@
| _ => (Path.ext "hs" o Path.explode o implode o separate "/"
o Long_Name.explode) modlname;
val pathname = Path.append destination filename;
- val _ = File.mkdir_leaf (Path.dir pathname);
+ val _ = File.mkdir (Path.dir pathname);
in File.write pathname
("{-# OPTIONS_GHC -fglasgow-exts #-}\n\n"
^ code_of_pretty content)
--- a/src/Tools/Code/code_scala.ML Wed Jun 30 17:12:38 2010 +0200
+++ b/src/Tools/Code/code_scala.ML Thu Jul 01 08:12:40 2010 +0200
@@ -376,7 +376,7 @@
| _ => (Path.ext "scala" o Path.explode o implode o separate "/"
o Long_Name.explode) modlname;
val pathname = Path.append destination filename;
- val _ = File.mkdir_leaf (Path.dir pathname);
+ val _ = File.mkdir (Path.dir pathname);
in File.write pathname (code_of_pretty content) end
in
Code_Target.mk_serialization target NONE