]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite/grafiteAstPp.ml
tentative subst-sexpand and change
[helm.git] / helm / software / components / grafite / grafiteAstPp.ml
index a33bf6d9de125941874d2de94be0d068d1f55fa3..3ab738ab789a579cc41611e42e15bc90f43d22e4 100644 (file)
@@ -91,6 +91,9 @@ let pp_just ~term_pp =
 
 let pp_ntactic ~map_unicode_to_tex = function
   | NApply (_,t) -> "napply " ^ CicNotationPp.pp_term t
+  | NChange (_,what,wwhat) -> "nchange " ^ CicNotationPp.pp_term what 
+      ^ " " ^ CicNotationPp.pp_term wwhat
+  | NId _ -> "nid"
 ;;
 
 let rec pp_tactic ~map_unicode_to_tex ~term_pp ~lazy_term_pp =
@@ -368,11 +371,9 @@ let pp_executable ~map_unicode_to_tex ~term_pp ~lazy_term_pp ~obj_pp =
       ^ pp_punctuation_tactical punct
   | Tactic (_, None, punct) ->
      pp_punctuation_tactical punct
-  | NTactic (_,Some tac, punct) ->
+  | NTactic (_,tac, punct) ->
      pp_ntactic ~map_unicode_to_tex tac
      ^ pp_punctuation_tactical punct
-  | NTactic (_,None, punct) ->
-     pp_punctuation_tactical punct
   | NonPunctuationTactical (_, tac, punct) ->
      pp_non_punctuation_tactical tac
      ^ pp_punctuation_tactical punct