X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_transformations%2Fast2pres.ml;h=5c1ea95d766be9e53e2afea1fb3856110404b7aa;hb=b24260fd5c00791ad04042405e3942f288f54ab2;hp=f0f9d934f580fcf4f5e58720453b38ecba70f7d0;hpb=426cad2769fcf6c6f1fdee965e6f0414aaf240db;p=helm.git diff --git a/helm/ocaml/cic_transformations/ast2pres.ml b/helm/ocaml/cic_transformations/ast2pres.ml index f0f9d934f..5c1ea95d7 100644 --- a/helm/ocaml/cic_transformations/ast2pres.ml +++ b/helm/ocaml/cic_transformations/ast2pres.ml @@ -579,7 +579,7 @@ let box_prefix = "b";; let add_xml_declaration stream = [< - Xml.xml_cdata "\n" ; + Xml.xml_cdata "\n" ; Xml.xml_cdata "\n"; Xml.xml_nempty ~prefix:box_prefix "box" [ Some "xmlns","m","http://www.w3.org/1998/Math/MathML" ; @@ -592,7 +592,7 @@ let add_xml_declaration stream = let ast2mpresXml ((ast, ids_to_uris) as arg) = let astBox = ast2astBox arg in let smallAst2mpresXml ast = - P.print_mpres (ast2mpres (ast, ids_to_uris)) + P.print_mpres (fun _ -> assert false) (ast2mpres (ast, ids_to_uris)) in (Box.box2xml ~obj2xml:smallAst2mpresXml astBox)