diff options
| author | Alasdair Armstrong | 2018-01-12 17:27:37 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-01-12 17:27:37 +0000 |
| commit | e56eafdb87f3f4e362cca7d0a6ca3d8a0e849b44 (patch) | |
| tree | 4b19d06dd6a234c5524c88e8aeceefce41ca8864 /src/sail.ml | |
| parent | ebc33211b0a3a6c14bbe4106b9a618b8ac594f52 (diff) | |
| parent | ffcf8a814cdd23eaff9286835478afb66fbb0029 (diff) | |
Merge remote-tracking branch 'origin/experiments' into sail2
Diffstat (limited to 'src/sail.ml')
| -rw-r--r-- | src/sail.ml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/sail.ml b/src/sail.ml index e9e55487..41ca792c 100644 --- a/src/sail.ml +++ b/src/sail.ml @@ -96,10 +96,10 @@ let options = Arg.align ([ Arg.String (fun l -> opt_libs_lem := l::!opt_libs_lem), "<filename> provide additional library to open in Lem output"); ( "-lem_sequential", - Arg.Set Process_file.opt_lem_sequential, + Arg.Set Pretty_print_lem.opt_sequential, " use sequential state monad for Lem output"); ( "-lem_mwords", - Arg.Set Process_file.opt_lem_mwords, + Arg.Set Pretty_print_lem.opt_mwords, " use native machine word library for Lem output"); ( "-mono-split", Arg.String (fun s -> @@ -231,9 +231,7 @@ let main() = else ()); (if !(opt_print_lem) then let ast_lem = rewrite_ast_lem ast in - if !(opt_libs_lem) = [] - then output "" (Lem_out None) [out_name,ast_lem] - else output "" (Lem_out (Some (List.hd !opt_libs_lem))) [out_name,ast_lem] + output "" (Lem_out (!opt_libs_lem)) [out_name,ast_lem] else ()); end |
