]> matita.cs.unibo.it Git - helm.git/commitdiff
Big bug fixed: attributes of constants were forgot during parsing!
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 27 Jan 2006 16:37:59 +0000 (16:37 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 27 Jan 2006 16:37:59 +0000 (16:37 +0000)
helm/ocaml/cic/cicParser.ml

index 317bcb9f0a002f17284133d3da7c9bdd972c2116..a7ad3c9cf1f88c8cc56cfdadad7c119c3098bc45 100644 (file)
@@ -771,7 +771,7 @@ let annobj_of_xml uri filename filenamebody =
       (match parse uri filename, parse uri filenamebody with
       | Cic_constant_type (type_id, name, params, typ, obj_attributes),
         Cic_constant_body (body_id, _, _, body, _) ->
-          Cic.AConstant (type_id, Some body_id, name, Some body, typ, params,[])
+          Cic.AConstant (type_id, Some body_id, name, Some body, typ, params,obj_attributes)
       | _ ->
           raise (Parser_failure (sprintf "no constant found in %s, %s"
             filename filenamebody)))