1 (**************************************************************************)
2 (* *)
3 (* OCaml *)
4 (* *)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6 (* *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. *)
9 (* *)
10 (* All rights reserved. This file is distributed under the terms of *)
11 (* the GNU Lesser General Public License version 2.1, with the *)
12 (* special exception on linking described in the file LICENSE. *)
13 (* *)
14 (**************************************************************************)
15
16 (* Auxiliary functions for parsing *)
17
18 val bind_ident: string -> Backend_var.With_provenance.t
19 val find_ident: string -> Backend_var.t
20 val unbind_ident: Backend_var.With_provenance.t -> unit
21
22 val find_label: string -> int
23
24 val debuginfo: ?loc:Location.t -> unit -> Debuginfo.t
25
26 type error =
27 Unbound of string
28
29 exception Error of error
30
31 val report_error: error -> unit
32