]> matita.cs.unibo.it Git - helm.git/commitdiff
support pretty printing of Cic.Implicit
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 22 Nov 2005 18:03:36 +0000 (18:03 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 22 Nov 2005 18:03:36 +0000 (18:03 +0000)
helm/ocaml/cic_notation/cicNotationRew.ml

index 919a07fab2190e270f767fdf1f8aae0508c9dfb4..8bbc22e24344819e37e7758abe8c5dc6f54f8f40 100644 (file)
@@ -330,7 +330,8 @@ let ast_of_acic0 term_info acic k =
     | Cic.ASort (id,Cic.Set) -> idref id (Ast.Sort `Set)
     | Cic.ASort (id,Cic.Type u) -> idref id (Ast.Sort (`Type u))
     | Cic.ASort (id,Cic.CProp) -> idref id (Ast.Sort `CProp)
-    | Cic.AImplicit _ -> assert false
+    | Cic.AImplicit (id, Some `Hole) -> idref id Ast.UserInput
+    | Cic.AImplicit (id, _) -> idref id Ast.Implicit
     | Cic.AProd (id,n,s,t) ->
         let binder_kind =
           match sort_of_id id with