From 5e0b521a2ccce4bd19cf5d08176616f760180c11 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Fri, 29 Sep 2023 09:05:45 +0200 Subject: Made the lexer buffer abstract --- test/qsp_parser_test.ml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'test/qsp_parser_test.ml') diff --git a/test/qsp_parser_test.ml b/test/qsp_parser_test.ml index 3e4a96b..6ea9eab 100644 --- a/test/qsp_parser_test.ml +++ b/test/qsp_parser_test.ml @@ -12,12 +12,7 @@ let parse : string -> T.pos location = fun content -> let lexing = Sedlexing.Latin1.from_string content in - match - Qparser.Analyzer.parse - (module Qsp_syntax.Tree) - (module Sedlexing.Utf8) - lexing - with + match Qparser.Analyzer.parse (module Qsp_syntax.Tree) lexing with | Ok e -> e | Error e -> let msg = Format.asprintf "%a" Qsp_syntax.Report.pp e in -- cgit v1.2.3