]> matita.cs.unibo.it Git - helm.git/commitdiff
* inner types file generation ported to V7_3_new_exportation
authorLuca Padovani <luca.padovani@unito.it>
Fri, 30 May 2003 16:38:16 +0000 (16:38 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Fri, 30 May 2003 16:38:16 +0000 (16:38 +0000)
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 [<>]