aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/interpreter.ml
diff options
context:
space:
mode:
authorChimrod <>2023-10-07 15:05:25 +0200
committerChimrod <>2023-10-07 15:05:25 +0200
commit7ff1e525b39a42f94e32c65f8c2aac0a52465dc3 (patch)
tree45e3557a12fe868ddd3dc96488129244ef807ec9 /lib/qparser/interpreter.ml
parent97ab5c9a21166f0bffee482210d69877fd6809fa (diff)
Added the error message in case of unclosed quote in a text
Diffstat (limited to 'lib/qparser/interpreter.ml')
-rw-r--r--lib/qparser/interpreter.ml6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/qparser/interpreter.ml b/lib/qparser/interpreter.ml
index b719600..219ba11 100644
--- a/lib/qparser/interpreter.ml
+++ b/lib/qparser/interpreter.ml
@@ -9,7 +9,11 @@
case of invalid syntax.
*)
-type error_code = UnrecoverableError | InvalidSyntax | MenhirCode of int
+type error_code =
+ | UnrecoverableError
+ | InvalidSyntax
+ | MenhirCode of int
+ | Custom of string
module Interpreter (MI : MenhirLib.IncrementalEngine.INCREMENTAL_ENGINE) =
struct