From 97fefe1fcca363a1317e066e7f4b99b9c1e9987b Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Thu, 12 Jan 2012 16:02:20 +0100 Subject: Imported Upstream version 8.4~beta --- parsing/lexer.mli | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'parsing/lexer.mli') diff --git a/parsing/lexer.mli b/parsing/lexer.mli index 93fc4231..1899f7f4 100644 --- a/parsing/lexer.mli +++ b/parsing/lexer.mli @@ -1,37 +1,27 @@ (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) -(* unit +val add_keyword : string -> unit val remove_keyword : string -> unit val is_keyword : string -> bool val location_function : int -> loc -(* for coqdoc *) +(** for coqdoc *) type location_table val location_table : unit -> location_table val restore_location_table : location_table -> unit val check_ident : string -> unit +val is_ident : string -> bool val check_keyword : string -> unit type frozen_t @@ -45,8 +35,8 @@ val restore_com_state: com_state -> unit val set_xml_output_comment : (string -> unit) -> unit -val terminal : string -> string * string +val terminal : string -> Tok.t -(* The lexer of Coq *) +(** The lexer of Coq: *) -val lexer : Compat.lexer +include Compat.LexerSig -- cgit v1.2.3