aboutsummaryrefslogtreecommitdiff
path: root/plugins/extraction
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-02-13 14:45:45 +0100
committerPierre-Marie Pédrot2020-02-13 14:45:45 +0100
commit31a319f4f4ffb0c93cfa57430830ef3808303482 (patch)
tree1b9937caa13b7e5a2da8e8a3a623c65b0dabb053 /plugins/extraction
parentbcf7f8ef482854f11bf63e1a9adfa3cdb09f3459 (diff)
parente1f24fc75514d9720205259cf6a25b5b92e6a976 (diff)
Merge PR #11521: Remove Goptions.opt_name field
Reviewed-by: Zimmi48 Reviewed-by: ppedrot
Diffstat (limited to 'plugins/extraction')
-rw-r--r--plugins/extraction/table.ml5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/extraction/table.ml b/plugins/extraction/table.ml
index 7b64706138..9d07cd7d93 100644
--- a/plugins/extraction/table.ml
+++ b/plugins/extraction/table.ml
@@ -503,7 +503,6 @@ let my_bool_option name initval =
let access = fun () -> !flag in
let () = declare_bool_option
{optdepr = false;
- optname = "Extraction "^name;
optkey = ["Extraction"; name];
optread = access;
optwrite = (:=) flag }
@@ -575,14 +574,12 @@ let optims () = !opt_flag_ref
let () = declare_bool_option
{optdepr = false;
- optname = "Extraction Optimize";
optkey = ["Extraction"; "Optimize"];
optread = (fun () -> not (Int.equal !int_flag_ref 0));
optwrite = (fun b -> chg_flag (if b then int_flag_init else 0))}
let () = declare_int_option
{ optdepr = false;
- optname = "Extraction Flag";
optkey = ["Extraction";"Flag"];
optread = (fun _ -> Some !int_flag_ref);
optwrite = (function
@@ -596,7 +593,6 @@ let conservative_types () = !conservative_types_ref
let () = declare_bool_option
{optdepr = false;
- optname = "Extraction Conservative Types";
optkey = ["Extraction"; "Conservative"; "Types"];
optread = (fun () -> !conservative_types_ref);
optwrite = (fun b -> conservative_types_ref := b) }
@@ -608,7 +604,6 @@ let file_comment () = !file_comment_ref
let () = declare_string_option
{optdepr = false;
- optname = "Extraction File Comment";
optkey = ["Extraction"; "File"; "Comment"];
optread = (fun () -> !file_comment_ref);
optwrite = (fun s -> file_comment_ref := s) }