diff options
| author | Pierre-Marie Pédrot | 2020-02-13 14:45:45 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-02-13 14:45:45 +0100 |
| commit | 31a319f4f4ffb0c93cfa57430830ef3808303482 (patch) | |
| tree | 1b9937caa13b7e5a2da8e8a3a623c65b0dabb053 /plugins/ssr/ssrparser.mlg | |
| parent | bcf7f8ef482854f11bf63e1a9adfa3cdb09f3459 (diff) | |
| parent | e1f24fc75514d9720205259cf6a25b5b92e6a976 (diff) | |
Merge PR #11521: Remove Goptions.opt_name field
Reviewed-by: Zimmi48
Reviewed-by: ppedrot
Diffstat (limited to 'plugins/ssr/ssrparser.mlg')
| -rw-r--r-- | plugins/ssr/ssrparser.mlg | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/ssr/ssrparser.mlg b/plugins/ssr/ssrparser.mlg index 22325f3fc3..21b832a326 100644 --- a/plugins/ssr/ssrparser.mlg +++ b/plugins/ssr/ssrparser.mlg @@ -1662,8 +1662,7 @@ let ssr_reserved_ids = Summary.ref ~name:"SSR:idents" true let () = Goptions.(declare_bool_option - { optname = "ssreflect identifiers"; - optkey = ["SsrIdents"]; + { optkey = ["SsrIdents"]; optdepr = false; optread = (fun _ -> !ssr_reserved_ids); optwrite = (fun b -> ssr_reserved_ids := b) @@ -2395,8 +2394,7 @@ let ssr_rw_syntax = Summary.ref ~name:"SSR:rewrite" true let () = Goptions.(declare_bool_option - { optname = "ssreflect rewrite"; - optkey = ["SsrRewrite"]; + { optkey = ["SsrRewrite"]; optread = (fun _ -> !ssr_rw_syntax); optdepr = false; optwrite = (fun b -> ssr_rw_syntax := b) }) |
