equal
deleted
inserted
replaced
97 else if function = (Markup.functionN, Markup.exportN) andalso |
97 else if function = (Markup.functionN, Markup.exportN) andalso |
98 not (null args) andalso #1 (hd args) = Markup.idN |
98 not (null args) andalso #1 (hd args) = Markup.idN |
99 then |
99 then |
100 let |
100 let |
101 val path = Path.expand (Path.explode ("$ISABELLE_EXPORT_TMP/export" ^ serial_string ())); |
101 val path = Path.expand (Path.explode ("$ISABELLE_EXPORT_TMP/export" ^ serial_string ())); |
102 val _ = File.open_output (fn out => List.app (File.output out) output) path; |
102 val _ = File.write_list path output; |
103 in inline_message (#2 function) (tl args @ [(Markup.fileN, Path.implode path)]) end |
103 in inline_message (#2 function) (tl args @ [(Markup.fileN, Path.implode path)]) end |
104 else |
104 else |
105 (case Markup.dest_loading_theory props of |
105 (case Markup.dest_loading_theory props of |
106 SOME name => writeln ("\floading_theory = " ^ name) |
106 SOME name => writeln ("\floading_theory = " ^ name) |
107 | NONE => raise Output.Protocol_Message props) |
107 | NONE => raise Output.Protocol_Message props) |