diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-10-11 13:23:26 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-10-17 20:14:13 +0200 |
commit | f3d1eff69850d379bad5ab8f1cdadb7f5d5c7eca (patch) | |
tree | a67b9295bb66018b94ae19b727813f221da9a329 /parsing/cLexer.mli | |
parent | 4e31561f7e0d5e647e86978806cae82ffb35f90b (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.mli | 8 |
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 |