]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/test_parser.ml
Minor modification in test_parser (to use the new pretty printer for
[helm.git] / helm / ocaml / cic_disambiguation / test_parser.ml
index 4937f4ca41bded6e6d2116da541017df1341a8ee..d6afddc670607b1099de6e7384f3bb9f28744458 100644 (file)
@@ -27,6 +27,11 @@ let default_mode = `Term
 
 let mode = ref default_mode
 
+(* let pp_tactical = TacticAstPp.pp_tactical *)
+
+let pp_tactical = TacticAst2Box.tacticalPp
+
+
 let _ =
   try
     match Sys.argv.(1) with
@@ -55,7 +60,7 @@ let _ =
             print_endline (TacticAstPp.pp_tactic term)
         | `Tactical ->
             let term = CicTextualParser2.parse_tactical istream in
-            print_endline (TacticAstPp.pp_tactical term)
+            print_endline (pp_tactical term)
         | `Alias ->
             let env = CicTextualParser2.EnvironmentP3.of_string line in
             print_endline (CicTextualParser2.EnvironmentP3.to_string env));