]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/cic2Xml.ml
* inner types file generation ported to V7_3_new_exportation
[helm.git] / helm / gTopLevel / cic2Xml.ml
index f498effb6bc89944c3b068bec8ec69d360d802c0..df460edce8c6fd5bdb42893cae0342818569fbbe 100644 (file)
@@ -411,10 +411,11 @@ let
          (fun id {C2A.annsynthesized = synty ; C2A.annexpected = expty} x ->
            [< x ;
               X.xml_nempty "TYPE" ["of",id]
-               [< print_term ids_to_inner_sorts synty ;
-                  match expty with
-                     None -> [<>]
-                   | Some expty' -> print_term ids_to_inner_sorts expty'
+               [< X.xml_nempty "synthesized" []
+                [< print_term ids_to_inner_sorts synty >] ;
+                 match expty with
+                   None -> [<>]
+                 | Some expty' -> X.xml_nempty "expected" [] [< print_term ids_to_inner_sorts expty' >]
                >]
            >]
          ) ids_to_inner_types [<>]