diff options
| author | Emilio Jesus Gallego Arias | 2017-04-21 02:01:02 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2017-04-21 02:01:02 +0200 |
| commit | a821f74dc91e438c86037d1dc8903a49934e6ee5 (patch) | |
| tree | e29fdcb22b310768b400387167db9f97916333d6 /plugins/funind | |
| 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 'plugins/funind')
| -rw-r--r-- | plugins/funind/recdef.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml index 5460d6fb73..9788ccfee2 100644 --- a/plugins/funind/recdef.ml +++ b/plugins/funind/recdef.ml @@ -1590,8 +1590,8 @@ let recursive_definition is_mes function_name rec_impls type_of_f r rec_arg_num and eq_ref = destConst (constr_of_global eq_ref) in generate_induction_principle f_ref tcc_lemma_constr functional_ref eq_ref rec_arg_num (EConstr.of_constr rec_arg_type) (nb_prod evm (EConstr.of_constr res)) (EConstr.of_constr relation); - if Flags.is_verbose () - then msgnl (h 1 (Ppconstr.pr_id function_name ++ + Flags.if_verbose + msgnl (h 1 (Ppconstr.pr_id function_name ++ spc () ++ str"is defined" )++ fnl () ++ h 1 (Ppconstr.pr_id equation_id ++ spc () ++ str"is defined" ) |
