From b34ebf3fe3ecaf292be873d231dd54c80f16ad07 Mon Sep 17 00:00:00 2001 From: Malte Voos Date: Mon, 24 Jun 2024 00:24:24 +0200 Subject: rename: Reporter -> Error --- src/parser/Parser.ml | 4 ++-- src/parser/dune | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/parser') diff --git a/src/parser/Parser.ml b/src/parser/Parser.ml index 4593d82..88448c9 100644 --- a/src/parser/Parser.ml +++ b/src/parser/Parser.ml @@ -8,6 +8,6 @@ let parse_expr (s : string) : Ast.expr = Eff.run ~env:source @@ fun () -> try Grammar.start_expr Lexer.token lexbuf with | Lexer.IllegalCharacter illegal_char -> - Reporter.illegal_character ~loc:(Asai.Range.of_lexbuf ~source lexbuf) illegal_char + Error.illegal_character ~loc:(Asai.Range.of_lexbuf ~source lexbuf) illegal_char | Grammar.Error -> - Reporter.syntax_error ~loc:(Asai.Range.of_lexbuf ~source lexbuf) + Error.syntax_error ~loc:(Asai.Range.of_lexbuf ~source lexbuf) diff --git a/src/parser/dune b/src/parser/dune index fd4aae7..7a1b290 100644 --- a/src/parser/dune +++ b/src/parser/dune @@ -10,4 +10,4 @@ (libraries asai toytt.ast - toytt.reporter)) + toytt.error)) -- cgit 1.4.1