From 6c080cae7b1ea26bc66f710f4b71a372f83645a0 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Thu, 28 Sep 2023 19:20:58 +0200 Subject: Skip the faulty location when reading the whole compiled file --- lib/analyzer.mli | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'lib/analyzer.mli') diff --git a/lib/analyzer.mli b/lib/analyzer.mli index 43509ba..e7efdb0 100644 --- a/lib/analyzer.mli +++ b/lib/analyzer.mli @@ -1,16 +1,8 @@ -type error = { - message : string; - start_pos : Lexing.position; - end_pos : Lexing.position; -} - -val format_error : Format.formatter -> error -> unit - val parse : (module Qsp_syntax.S.Analyzer with type Location.repr = 'a) -> (module Encoding.S) -> Sedlexing.lexbuf -> - ('a, error) Result.t + ('a, Qsp_syntax.Report.t) Result.t (** Read the source and build a analyzis over it. This method make the link between the source file and how to read it -- cgit v1.2.3