From 99fdb2e003b7433dc06372d2ffebd6d5111ce46d Mon Sep 17 00:00:00 2001 From: Christopher Pulte Date: Thu, 6 Oct 2016 17:23:28 +0100 Subject: move type definitions that both interpreter and shallow embedding use to sail_impl_base, add sail_impl_base.outcome, add interp_inter_imp auxiliary functions, make prompt use sail_impl_base.outcome --- src/process_file.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/process_file.ml') diff --git a/src/process_file.ml b/src/process_file.ml index d12c1415..f1878609 100644 --- a/src/process_file.ml +++ b/src/process_file.ml @@ -179,7 +179,7 @@ let output1 libpath out_arg filename defs = let ((o2,_, _) as ext_o2) = open_output_with_check_unformatted (f' ^ "embed.lem") in (Pretty_print.pp_defs_lem o1 o2 defs (generated_line filename)) - ["Pervasives_extra";"Vector";"State";"Arch";"Sail_values"]; + ["Pervasives_extra";"Vector";"Prompt";"Arch";"Sail_values"]; close_output_with_check ext_o1; close_output_with_check ext_o2 | Lem_out (Some lib) -> @@ -188,7 +188,7 @@ let output1 libpath out_arg filename defs = let ((o2,_, _) as ext_o2) = open_output_with_check_unformatted (f' ^ "embed.lem") in (Pretty_print.pp_defs_lem o1 o2 defs (generated_line filename)) - ["Pervasives_extra";"Vector";"State";"Arch";"Sail_values"; lib]; + ["Pervasives_extra";"Vector";"Prompt";"Arch";"Sail_values"; lib]; close_output_with_check ext_o1; close_output_with_check ext_o2 | Ocaml_out None -> -- cgit v1.2.3