]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/toplevel/metaAut.ml
new macro screenshot
[helm.git] / helm / software / lambda-delta / toplevel / metaAut.ml
index 48628b2bb489eea631a6c05694577344af7d5430..db18ade47742dfd95b63d041bdf59a49d71d750d 100644 (file)
@@ -49,7 +49,7 @@ let mk_qid st id path =
    let uripath = if st.cover = "" then path else st.cover :: path in
    let str = String.concat "/" uripath in
    let str = Filename.concat str id in 
-   U.uri_of_string ("ld:/" ^ str), id, path
+   U.uri_of_string ("ld:/" ^ str ^ ".ld"), id, path
 
 let uri_of_qid (uri, _, _) = uri
 
@@ -145,7 +145,7 @@ let rec xlate_term f st lenv = function
       in
       resolve_lref f st l lenv (id_of_name name)
 
-let xlate_item f st = function
+let xlate_entity f st = function
    | A.Section (Some (_, name))     ->
       f {st with path = name :: st.path; nodes = st.node :: st.nodes} None
    | A.Section None            ->
@@ -204,4 +204,4 @@ let xlate_item f st = function
 let initial_status ?(cover="") () =
    initial_status hsize cover
 
-let meta_of_aut = xlate_item
+let meta_of_aut = xlate_entity