diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-10-06 14:11:19 +0200 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-10-08 09:51:13 +0200 |
commit | ce83c2b9fd1685e46049ee7f47c8716dcf66dbd1 (patch) | |
tree | f37a9f9b4aadcd6b07fce72885f879d457ab78dd /printing | |
parent | 27d4a636cb7f1fbdbced1980808a9b947405eeb5 (diff) |
Goptions: new value type: optional string
These options can be set to a string value, but also unset.
Internal data is of type string option.
Diffstat (limited to 'printing')
-rw-r--r-- | printing/ppvernac.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml index 71dcd15cc..76f97fce1 100644 --- a/printing/ppvernac.ml +++ b/printing/ppvernac.ml @@ -166,6 +166,8 @@ module Make (* This should not happen because of the grammar *) | IntValue (Some n) -> spc() ++ int n | StringValue s -> spc() ++ str s + | StringOptValue None -> mt() + | StringOptValue (Some s) -> spc() ++ str s | BoolValue b -> mt() in pr_printoption a None ++ pr_opt_value b |