aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/interpreter.ml
diff options
context:
space:
mode:
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