diff options
| author | ppedrot | 2012-06-01 19:53:57 +0000 |
|---|---|---|
| committer | ppedrot | 2012-06-01 19:53:57 +0000 |
| commit | 80b91aa1e83097efd006cfed5f57e4826a1ab0c8 (patch) | |
| tree | 75f2746f738c2b2c111b701f80d59d10f80c75f7 /plugins/xml/doubleTypeInference.ml | |
| parent | cf7660a3a8932ee593a376e8ec7ec251896a72e3 (diff) | |
Cleaning Pp.ppnl use
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15413 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/xml/doubleTypeInference.ml')
| -rw-r--r-- | plugins/xml/doubleTypeInference.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xml/doubleTypeInference.ml b/plugins/xml/doubleTypeInference.ml index 24a383250f..b1838f4a44 100644 --- a/plugins/xml/doubleTypeInference.ml +++ b/plugins/xml/doubleTypeInference.ml @@ -147,7 +147,7 @@ let double_type_of env sigma cstr expectedty subterms_to_types = (try Typeops.judge_of_type u with _ -> (* Successor of a non universe-variable universe anomaly *) - (Pp.ppnl (Pp.str "Warning: universe refresh performed!!!") ; flush stdout ) ; + Pp.msg_warning (Pp.str "Universe refresh performed!!!"); Typeops.judge_of_type (Termops.new_univ ()) ) @@ -239,7 +239,7 @@ let double_type_of env sigma cstr expectedty subterms_to_types = in (*CSC: debugging stuff to be removed *) if Acic.CicHash.mem subterms_to_types cstr then - (Pp.ppnl (Pp.(++) (Pp.str "DUPLICATE INSERTION: ") (Printer.pr_lconstr cstr)) ; flush stdout ) ; + Pp.msg_warning (Pp.(++) (Pp.str "DUPLICATE INSERTION: ") (Printer.pr_lconstr cstr)); Acic.CicHash.add subterms_to_types cstr types ; E.make_judge cstr res |
