]> matita.cs.unibo.it Git - helm.git/commitdiff
removed traliling dot in command pretty printer, now it's added by the
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 4 May 2004 10:45:54 +0000 (10:45 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 4 May 2004 10:45:54 +0000 (10:45 +0000)
tactical pp

helm/ocaml/cic_transformations/tacticAstPp.ml

index 9a544234d15a56600c75ca4ada90d0f25c001d61..5c96b64d3fa602a4a71c0438397b33183f8ecfff 100644 (file)
@@ -86,14 +86,14 @@ let pp_flavour = function
   | `Theorem -> "Theorem"
 
 let pp_command = function
-  | Abort -> "Abort."
-  | Check term -> sprintf "Check %s." (CicAstPp.pp_term term)
-  | Proof -> "Proof."
+  | 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."
+      (match name with None -> "Qed" | Some name -> sprintf "Save %s" name)
+  | Quit -> "Quit"
   | Theorem (flavour, name, typ, body) ->
-      sprintf "%s %s: %s %s."
+      sprintf "%s %s: %s %s"
         (pp_flavour flavour)
         (match name with None -> "" | Some name -> name)
         (CicAstPp.pp_term typ)