diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-04-21 02:01:02 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-04-21 02:01:02 +0200 |
commit | a821f74dc91e438c86037d1dc8903a49934e6ee5 (patch) | |
tree | e29fdcb22b310768b400387167db9f97916333d6 /parsing/pcoq.ml | |
parent | beb3acd2fd3831404f0be2da61d3f28e210e8349 (diff) |
[flags] Deprecate is_silent/is_verbose in favor of single flag.
Today, both modes are controlled by a single flag, however this is a
bit misleading as is_silent really means "quiet", that is to say `coqc
-q` whereas "verbose" is Coq normal operation.
We also restore proper behavior of goal printing in coqtop on quiet
mode, thanks to @Matafou for the report.
Diffstat (limited to 'parsing/pcoq.ml')
-rw-r--r-- | parsing/pcoq.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/pcoq.ml b/parsing/pcoq.ml index 92d249e53..dad98e2e9 100644 --- a/parsing/pcoq.ml +++ b/parsing/pcoq.ml @@ -211,7 +211,7 @@ let camlp4_verbosity silent f x = f x; warning_verbose := a -let camlp4_verbose f x = camlp4_verbosity (Flags.is_verbose ()) f x +let camlp4_verbose f x = camlp4_verbosity (not !Flags.quiet) f x (** Grammar extensions *) |