diff options
author | Chimrod <> | 2023-09-29 09:05:45 +0200 |
---|---|---|
committer | Chimrod <> | 2023-09-29 10:00:21 +0200 |
commit | 5e0b521a2ccce4bd19cf5d08176616f760180c11 (patch) | |
tree | 75319ef16d46f02f0e4057cf44f9d97528d1a994 /test/qsp_parser_test.ml | |
parent | a5ca18d209e3e85c79c38ea0256e68de19fac91f (diff) |
Made the lexer buffer abstract
Diffstat (limited to 'test/qsp_parser_test.ml')
-rw-r--r-- | test/qsp_parser_test.ml | 7 |
1 files changed, 1 insertions, 6 deletions
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 |