X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_textual_parser%2FcicTextualParser0.ml;h=fe4bf062346c95b9cf29eaeb692871f4fccab3fd;hb=6f6b8f33397548319fef9b374f9e9017e7fa151d;hp=0a841473474275adee71d1b89f11a3f8b47eeaf5;hpb=faf328f5779a7281c9c0588680b1b7bb89ae7640;p=helm.git diff --git a/helm/ocaml/cic_textual_parser/cicTextualParser0.ml b/helm/ocaml/cic_textual_parser/cicTextualParser0.ml index 0a8414734..fe4bf0623 100644 --- a/helm/ocaml/cic_textual_parser/cicTextualParser0.ml +++ b/helm/ocaml/cic_textual_parser/cicTextualParser0.ml @@ -28,3 +28,7 @@ exception Eof;; let current_uri = ref (UriManager.uri_of_string "cic:/dummy.con");; let binders = ref ([] : (Cic.name option) list);; let metasenv = ref ([] : Cic.metasenv);; +let locate_object = ref ((fun _ -> None):string->Cic.term option);; + +let set_locate_object f = + locate_object := f