X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_transformations%2FtacticAstPp.ml;h=9a544234d15a56600c75ca4ada90d0f25c001d61;hb=9e2b452ac3b4b5ba72834fd6e51e104e4faa032c;hp=4380dd5df9ede56e7efc7c277943812c8a71dede;hpb=511f0c1672e0db4cf577afc9b79f12dea39469ad;p=helm.git diff --git a/helm/ocaml/cic_transformations/tacticAstPp.ml b/helm/ocaml/cic_transformations/tacticAstPp.ml index 4380dd5df..9a544234d 100644 --- a/helm/ocaml/cic_transformations/tacticAstPp.ml +++ b/helm/ocaml/cic_transformations/tacticAstPp.ml @@ -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