src/Tools/Code/code_target.ML
changeset 70991 f9f7c34b7dd4
parent 70021 e6e634836556
child 72057 ce3f26b4e790
equal deleted inserted replaced
70990:e5e34bd28257 70991:f9f7c34b7dd4
   280 fun code_export_message thy = writeln (Export.message thy (Path.basic codeN));
   280 fun code_export_message thy = writeln (Export.message thy (Path.basic codeN));
   281 
   281 
   282 fun export binding content thy =
   282 fun export binding content thy =
   283   let
   283   let
   284     val thy' = thy |> Generated_Files.add_files (binding, content);
   284     val thy' = thy |> Generated_Files.add_files (binding, content);
   285     val _ = Export.export thy' binding [content];
   285     val _ = Export.export thy' binding [XML.Text content];
   286   in thy' end;
   286   in thy' end;
   287 
   287 
   288 local
   288 local
   289 
   289 
   290 fun export_logical (file_prefix, file_pos) format pretty_modules =
   290 fun export_logical (file_prefix, file_pos) format pretty_modules =