aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/cLexer.mli
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-10-11 13:23:26 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-10-17 20:14:13 +0200
commitf3d1eff69850d379bad5ab8f1cdadb7f5d5c7eca (patch)
treea67b9295bb66018b94ae19b727813f221da9a329 /parsing/cLexer.mli
parent4e31561f7e0d5e647e86978806cae82ffb35f90b (diff)
More on making the lexer more functional (continuing b8ae2de5 and
8a8caba3). - Adding cLexer.current_file to the lexer state, i.e. making it a component of the type "coq_parsable" of lexer state (it was forgotten in b8ae2de5 and 8a8caba3). - Inlining save_translator/restore_translator which have now lost most of their substance.
Diffstat (limited to 'parsing/cLexer.mli')
-rw-r--r--parsing/cLexer.mli8
1 files changed, 0 insertions, 8 deletions
diff --git a/parsing/cLexer.mli b/parsing/cLexer.mli
index 71edda760..f69d95335 100644
--- a/parsing/cLexer.mli
+++ b/parsing/cLexer.mli
@@ -10,14 +10,6 @@ val add_keyword : string -> unit
val remove_keyword : string -> unit
val is_keyword : string -> bool
-(** [get_current_file fname] returns the filename used in locations emitted by
- the lexer *)
-val get_current_file : unit -> string
-
-(** [set_current_file fname] sets the filename used in locations emitted by the
- lexer *)
-val set_current_file : fname:string -> unit
-
val check_ident : string -> unit
val is_ident : string -> bool
val check_keyword : string -> unit