aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/lexer.mli
diff options
context:
space:
mode:
authorChimrod <>2023-10-26 16:50:12 +0200
committerChimrod <>2023-10-30 09:30:55 +0100
commitdc1ae31617bc4c3cfaefc518971bbb153149ca86 (patch)
tree66524795e7b78987fdedfb5b49963f49b3cdee1a /lib/qparser/lexer.mli
parent12fb712df5e9d1142ca2a3604d6095de6381cf65 (diff)
Added a state in the string evaluation
Diffstat (limited to 'lib/qparser/lexer.mli')
-rw-r--r--lib/qparser/lexer.mli5
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