From 7ff1e525b39a42f94e32c65f8c2aac0a52465dc3 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Sat, 7 Oct 2023 15:05:25 +0200 Subject: Added the error message in case of unclosed quote in a text --- lib/qparser/interpreter.ml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/qparser/interpreter.ml') 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 -- cgit v1.2.3