]> matita.cs.unibo.it Git - helm.git/blobdiff - components/grafite_parser/test_parser.ml
map_unicode_to_tex is no longer optional and it always refers to the current
[helm.git] / components / grafite_parser / test_parser.ml
index 2deef1bd53a24fc78bef7b0e5eb7ccf6bcd22b37..76c402c196c757327525aa96e10b552230f10711 100644 (file)
@@ -101,6 +101,8 @@ let process_stream istream =
                   prerr_endline
                    ("Unsupported statement: " ^
                      GrafiteAstPp.pp_statement
+                      ~map_unicode_to_tex:(Helm_registry.get_bool
+                        "matita.paste_unicode_as_tex")
                       ~term_pp:CicNotationPp.pp_term
                       ~lazy_term_pp:(fun _ -> "_lazy_term_here_")
                       ~obj_pp:(fun _ -> "_obj_here_")
@@ -118,7 +120,7 @@ let process_stream istream =
               (!char_count + x) (!char_count + y) msg)
         | exn ->
             prerr_endline
-              (sprintf "Uncaught exception: %s" (Printexc.to_string exn))
+              (sprintf "TestParser: Uncaught exception: %s" (Printexc.to_string exn))
        done
     with End_of_file -> ()