src/Tools/Code/code_target.ML
changeset 72375 e48d93811ed7
parent 72162 5894859c5c84
child 72511 460d743010bc
equal deleted inserted replaced
72374:4c8295f2f849 72375:e48d93811ed7
   310 
   310 
   311 fun export_physical root format pretty_modules =
   311 fun export_physical root format pretty_modules =
   312   (case pretty_modules of
   312   (case pretty_modules of
   313     Singleton (_, p) => File.write root (format p)
   313     Singleton (_, p) => File.write root (format p)
   314   | Hierarchy code_modules =>
   314   | Hierarchy code_modules =>
   315       (Isabelle_System.mkdirs root;
   315       (Isabelle_System.make_directory root;
   316         List.app (fn (names, p) =>
   316         List.app (fn (names, p) =>
   317           File.write (Path.appends (root :: map Path.basic names)) (format p)) code_modules));
   317           File.write (Path.appends (root :: map Path.basic names)) (format p)) code_modules));
   318 
   318 
   319 in
   319 in
   320 
   320