X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteAstPp.ml;h=7ececab722b2b5ff61037ed76ea76df4c0276d81;hb=75d417a2bb12a56052dd520c513c789fd9256252;hp=5f1213fa48578d59c3970a8e8b9b40f8089037be;hpb=df1201e37d6f2631dc31ffc87b979a6c81180a3a;p=helm.git diff --git a/helm/software/components/grafite/grafiteAstPp.ml b/helm/software/components/grafite/grafiteAstPp.ml index 5f1213fa4..7ececab72 100644 --- a/helm/software/components/grafite/grafiteAstPp.ml +++ b/helm/software/components/grafite/grafiteAstPp.ml @@ -89,7 +89,7 @@ let pp_just ~term_pp = | `Auto params -> pp_auto_params ~term_pp params ;; -let pp_ntactic ~map_unicode_to_tex = function +let rec pp_ntactic ~map_unicode_to_tex = function | NApply (_,t) -> "napply " ^ CicNotationPp.pp_term t | NCases (_,what,where) -> "ncases " ^ CicNotationPp.pp_term what ^ assert false ^ " " ^ assert false @@ -119,6 +119,8 @@ let pp_ntactic ~map_unicode_to_tex = function (String.concat " " (List.map string_of_int l)) | NUnfocus _ -> "##unfocus" | NSkip _ -> "##skip" + | NTry (_,tac) -> "ntry (" ^ pp_ntactic ~map_unicode_to_tex tac ^ ")" + | NAssumption _ -> "nassumption" ;; let rec pp_tactic ~map_unicode_to_tex ~term_pp ~lazy_term_pp =