From 144f2ac7c7394a701808daa503a0b6ded5663fcc Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Fri, 6 Sep 2013 21:50:35 +0200 Subject: Adding generic solvers to term holes. For now, no resolution mechanism nor parsing is plugged. --- printing/ppconstr.ml | 2 +- printing/ppvernac.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'printing') diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml index b389ca7902..92b4bf4961 100644 --- a/printing/ppconstr.ml +++ b/printing/ppconstr.ml @@ -258,7 +258,7 @@ let pr_binder_among_many pr_c = function | LocalRawDef (na,c) -> let c,topt = match c with | CCast(_,c, (CastConv t|CastVM t|CastNative t)) -> c, t - | _ -> c, CHole (Loc.ghost, None) in + | _ -> c, CHole (Loc.ghost, None, None) in surround (pr_lname na ++ pr_opt_type pr_c topt ++ str":=" ++ cut() ++ pr_c c) diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml index 441e362b15..ba640863d0 100644 --- a/printing/ppvernac.ml +++ b/printing/ppvernac.ml @@ -250,7 +250,7 @@ let pr_module_binders l pr_c = prlist_strict (pr_module_vardecls pr_c) l let pr_type_option pr_c = function - | CHole (loc, k) -> mt() + | CHole (loc, k, _) -> mt() | _ as c -> brk(0,2) ++ str":" ++ pr_c c let pr_decl_notation prc ((loc,ntn),c,scopt) = -- cgit v1.2.3