]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite/grafiteAstPp.ml
support -axiom to avoind indexing an axiom (since there is no qed)
[helm.git] / matita / components / grafite / grafiteAstPp.ml
index c4eacfb5a36d18940f4b04050339e0ffe8e4a484..652f10b2ad3217d2a30c532af134daf1728ccc4a 100644 (file)
@@ -168,8 +168,11 @@ let pp_ncommand status = function
   | NInverter (_,_,_,_,_)
   | NUnivConstraint (_) -> "not supported"
   | NCoercion (_) -> "not supported"
-  | NObj (_,obj) -> NotationPp.pp_obj (NotationPp.pp_term status) obj
-  | NQed (_) -> "qed"
+  | NObj (_,obj,index) -> 
+      (if not index then "-" else "") ^ 
+        NotationPp.pp_obj (NotationPp.pp_term status) obj
+  | NQed (_,true) -> "qed"
+  | NQed (_,false) -> "qed-"
   | NCopy (_,name,uri,map) -> 
       "copy " ^ name ^ " from " ^ NUri.string_of_uri uri ^ " with " ^ 
         String.concat " and "