diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-02-28 13:26:53 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-03-09 10:17:21 -0300 |
commit | 38a671f74857aec8e285a6a0bfcab876e3b9a133 (patch) | |
tree | 5622eb556afff6f4bef5eb9b190bc0e9ea27161a /ide | |
parent | 2069c0aec44a50031e33bcb9f7d86c1535ef6b84 (diff) |
Export the various option localities in the API.
This prevents relying on an underspecified bool option argument.
Diffstat (limited to 'ide')
-rw-r--r-- | ide/ide_slave.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide/ide_slave.ml b/ide/ide_slave.ml index 0ba1b3a4f..9fe580091 100644 --- a/ide/ide_slave.ml +++ b/ide/ide_slave.ml @@ -340,7 +340,7 @@ let set_options options = | IntValue i -> Goptions.set_int_option_value name i | StringValue s -> Goptions.set_string_option_value name s | StringOptValue (Some s) -> Goptions.set_string_option_value name s - | StringOptValue None -> Goptions.unset_option_value_gen None name + | StringOptValue None -> Goptions.unset_option_value_gen name in List.iter iter options |