34 lines
1.3 KiB
OCaml
34 lines
1.3 KiB
OCaml
(***********************************************************************)
|
|
(* *)
|
|
(* OCaml *)
|
|
(* *)
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
|
(* OCaml port by John Malecki and Xavier Leroy *)
|
|
(* *)
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
(* under the terms of the Q Public License version 1.0. *)
|
|
(* *)
|
|
(***********************************************************************)
|
|
|
|
open Format
|
|
|
|
(* Convert environment summaries to environments *)
|
|
|
|
val env_from_summary : Env.summary -> Subst.t -> Env.t
|
|
|
|
(* Empty the environment caches. To be called when load_path changes. *)
|
|
|
|
val reset_cache: unit -> unit
|
|
|
|
val env_of_only_summary : Env.t -> Env.t
|
|
|
|
(* Error report *)
|
|
|
|
type error =
|
|
Module_not_found of Path.t
|
|
|
|
exception Error of error
|
|
|
|
val report_error: formatter -> error -> unit
|