From dc1ae31617bc4c3cfaefc518971bbb153149ca86 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Thu, 26 Oct 2023 16:50:12 +0200 Subject: Added a state in the string evaluation --- lib/qparser/lexer.mli | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/qparser/lexer.mli') 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 -- cgit v1.2.3