]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_transformations/ast2pres.ml
ported location handling to camlp4 3.08
[helm.git] / helm / ocaml / cic_transformations / ast2pres.ml
index 12d5ca1e8e0954ee9964eefeb0921dd74c00960f..470019835472be0a7880294d36f4c4a0e5163b59 100644 (file)
@@ -100,7 +100,8 @@ let is_big t =
 
 let map_attribute =
   function
-      `Loc (n,m) -> 
+      `Loc floc -> 
+        let (n, m) = CicAst.loc_of_floc floc in
         (Some "helm","loc",(string_of_int n)^" "^(string_of_int m))
     | `IdRef s -> 
         (Some "helm","xref",s)