X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteAstPp.ml;h=4a94152de956c5ea144f3af78e3ebd6d8392c37a;hb=2dd8be781f939739e1410dce3706ccc19a990525;hp=941f75d9d6dae352574be19861ddc79d1775f2c5;hpb=8752fac73a864c821b6954f0572bce2052924183;p=helm.git diff --git a/helm/software/components/grafite/grafiteAstPp.ml b/helm/software/components/grafite/grafiteAstPp.ml index 941f75d9d..4a94152de 100644 --- a/helm/software/components/grafite/grafiteAstPp.ml +++ b/helm/software/components/grafite/grafiteAstPp.ml @@ -154,8 +154,8 @@ let rec pp_tactic ~term_pp ~lazy_term_pp = | Split _ -> "split" | Symmetry _ -> "symmetry" | Transitivity (_, term) -> "transitivity " ^ term_pp term - -let pp_search_kind = function + + let pp_search_kind = function | `Locate -> "locate" | `Hint -> "hint" | `Match -> "match" @@ -182,12 +182,6 @@ let pp_macro ~term_pp = (* real macros *) | Check (_, term) -> sprintf "Check %s" (term_pp term) | Hint _ -> "hint" - | Search_pat (_, kind, pat) -> - sprintf "search %s \"%s\"" (pp_search_kind kind) pat - | Search_term (_, kind, term) -> - sprintf "search %s %s" (pp_search_kind kind) (term_pp term) - | Print (_, name) -> sprintf "Print \"%s\"" name - | Quit _ -> "Quit" let pp_associativity = function | Gramext.LeftA -> "left associative" @@ -213,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