Skip to content
Snippets Groups Projects
Commit 79c8e91d authored by Julien Signoles's avatar Julien Signoles
Browse files

[e-acsl] remove option -e-acsl-check

parent 03028e67
No related branches found
No related tags found
No related merge requests found
...@@ -172,10 +172,6 @@ let main () = ...@@ -172,10 +172,6 @@ let main () =
if Options.Run.get () then begin if Options.Run.get () then begin
change_printer (); change_printer ();
ignore (generate_code (Options.Project_name.get ())); ignore (generate_code (Options.Project_name.get ()));
end else
if Options.Check.get () then begin
Gmp_types.init ();
ignore (check ())
end end
let () = Db.Main.extend main let () = Db.Main.extend main
......
...@@ -31,13 +31,6 @@ module P = Plugin.Register ...@@ -31,13 +31,6 @@ module P = Plugin.Register
module PP = P (* [PP] required to avoid an ocamldoc error in OCaml 4.02 *) module PP = P (* [PP] required to avoid an ocamldoc error in OCaml 4.02 *)
include PP include PP
module Check =
False
(struct
let option_name = "-e-acsl-check"
let help = "only type check E-ACSL annotated program"
end)
module Run = module Run =
False False
(struct (struct
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
include Plugin.S (** implementation of Log.S for E-ACSL *) include Plugin.S (** implementation of Log.S for E-ACSL *)
module Check: Parameter_sig.Bool
module Run: Parameter_sig.Bool module Run: Parameter_sig.Bool
module Valid: Parameter_sig.Bool module Valid: Parameter_sig.Bool
module Gmp_only: Parameter_sig.Bool module Gmp_only: Parameter_sig.Bool
......
...@@ -86,8 +86,7 @@ let option_check = ref false ...@@ -86,8 +86,7 @@ let option_check = ref false
let clear () = let clear () =
Datatype.String.Hashtbl.clear keep_status; Datatype.String.Hashtbl.clear keep_status;
option_valid := Options.Valid.get (); option_valid := Options.Valid.get ()
option_check := Options.Check.get ()
let push kf kind ppt = let push kf kind ppt =
(* Options.feedback "PUSHING %a for %a" (* Options.feedback "PUSHING %a for %a"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment