aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/cLexer.mli
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/cLexer.mli')
-rw-r--r--parsing/cLexer.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/parsing/cLexer.mli b/parsing/cLexer.mli
index 24b0ec847..d99ba3557 100644
--- a/parsing/cLexer.mli
+++ b/parsing/cLexer.mli
@@ -17,6 +17,9 @@ type location_table
val location_table : unit -> location_table
val restore_location_table : location_table -> unit
+(** [set_current_file fname] sets the filename 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