]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_transformations/tacticAstPp.ml
added Abort and Check commands
[helm.git] / helm / ocaml / cic_transformations / tacticAstPp.ml
index 4380dd5df9ede56e7efc7c277943812c8a71dede..9a544234d15a56600c75ca4ada90d0f25c001d61 100644 (file)
@@ -86,7 +86,12 @@ let pp_flavour = function
   | `Theorem -> "Theorem"
 
 let pp_command = function
+  | Abort -> "Abort."
+  | Check term -> sprintf "Check %s." (CicAstPp.pp_term term)
   | Proof -> "Proof."
+  | Qed name ->
+      (match name with None -> "Qed." | Some name -> sprintf "Save %s." name)
+  | Quit -> "Quit."
   | Theorem (flavour, name, typ, body) ->
       sprintf "%s %s: %s %s."
         (pp_flavour flavour)
@@ -95,9 +100,6 @@ let pp_command = function
         (match body with
         | None -> ""
         | Some body -> "\\def " ^ CicAstPp.pp_term body)
-  | Qed name ->
-      (match name with None -> "Qed." | Some name -> sprintf "Save %s." name)
-  | Quit -> "Quit."
 
 let rec pp_tactical = function
   | LocatedTactical (loc, tac) -> pp_tactical tac