diff options
Diffstat (limited to 'lib/qparser/lexer.mli')
-rw-r--r-- | lib/qparser/lexer.mli | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/qparser/lexer.mli b/lib/qparser/lexer.mli index 30766e0..26d59cb 100644 --- a/lib/qparser/lexer.mli +++ b/lib/qparser/lexer.mli @@ -2,5 +2,8 @@ exception EOF exception UnclosedQuote exception LexError of string -val token : Lexbuf.t -> Tokens.token val discard : Lexbuf.t -> unit +(** Discard the remaining element in the location until the end of this one. + Used in case of unrecoverable error *) + +val main : Lexbuf.t -> Tokens.token |