X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteAstPp.ml;h=4a94152de956c5ea144f3af78e3ebd6d8392c37a;hb=2957d67b2b74224cf3bb768461d60f07062e1b9d;hp=c5bbe8f19fb2c0a940fede00c1c974e9af9afa80;hpb=5716f9072fc8a7d46324e91cca970489c59cc590;p=helm.git diff --git a/helm/software/components/grafite/grafiteAstPp.ml b/helm/software/components/grafite/grafiteAstPp.ml index c5bbe8f19..4a94152de 100644 --- a/helm/software/components/grafite/grafiteAstPp.ml +++ b/helm/software/components/grafite/grafiteAstPp.ml @@ -182,8 +182,6 @@ let pp_macro ~term_pp = (* real macros *) | Check (_, term) -> sprintf "Check %s" (term_pp term) | Hint _ -> "hint" - | Print (_, name) -> sprintf "Print \"%s\"" name - | Quit _ -> "Quit" let pp_associativity = function | Gramext.LeftA -> "left associative" @@ -209,6 +207,7 @@ let pp_command ~obj_pp = function | Include (_,path) -> "include \"" ^ path ^ "\"" | Qed _ -> "qed" | Drop _ -> "drop" + | Print (_,s) -> "print " ^ s | Set (_, name, value) -> sprintf "set \"%s\" \"%s\"" name value | Coercion (_, uri, do_composites) -> pp_coercion uri do_composites | Obj (_,obj) -> obj_pp obj