X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Flexicon%2FlexiconEngine.ml;h=d85ed51d896424f93591ed60a5446f8b1ab5f081;hb=2ca2baa7b345693c7684994130707fb152227931;hp=ff186b1311edd573c9b2843bdba82fe2f326d062;hpb=827e35d6058ebba3a4a4fa6eb3c160f0cd0fd1e8;p=helm.git diff --git a/helm/ocaml/lexicon/lexiconEngine.ml b/helm/ocaml/lexicon/lexiconEngine.ml index ff186b131..d85ed51d8 100644 --- a/helm/ocaml/lexicon/lexiconEngine.ml +++ b/helm/ocaml/lexicon/lexiconEngine.ml @@ -23,6 +23,8 @@ * http://helm.cs.unibo.it/ *) +(* $Id$ *) + exception IncludedFileNotCompiled of string (* file name *) exception MetadataNotFound of string (* file name *) @@ -108,7 +110,7 @@ let rec eval_command status cmd = let lexicon = LexiconMarshal.load_lexicon lexiconpath in let status = List.fold_left eval_command status lexicon in if Helm_registry.get_bool "db.nodb" then - let metadatapath = baseuri ^ ".metadata" in + let metadatapath = LibraryMisc.metadata_file_of_baseuri ~basedir ~baseuri in if not (Sys.file_exists metadatapath) then raise (MetadataNotFound metadatapath) else