ocaml/testasmcomp/lexcmm.mli

24 lines
957 B
OCaml

(***********************************************************************)
(* *)
(* Caml Special Light *)
(* *)
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1995 Institut National de Recherche en Informatique et *)
(* Automatique. Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id$ *)
val token: Lexing.lexbuf -> Parsecmm.token
type error =
Illegal_character
| Unterminated_comment
| Unterminated_string
exception Error of error
val report_error: Lexing.lexbuf -> error -> unit