From 7124a82e4a9687dc66a2bd5a33cfa37ae8d60f8c Mon Sep 17 00:00:00 2001 From: Jamie Willis Date: Sat, 3 Feb 2024 20:25:35 +0000 Subject: [PATCH] version bump, added missing function --- CHANGELOG.md | 4 ++++ gigaparsec.cabal | 2 +- src/Text/Gigaparsec/Token/Lexer.hs | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ee91e6..c75ceb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Revision history for gigaparsec +## 0.2.4.0 -- 2024-02-03 +* Added `ErrorConfig` and related types, along with `mkLexerWithErrorConfig`, to now allow + for custom lexing errors. + ## 0.2.3.0 -- 2024-01-29 * Added _Verified Errors_ and _Preventative Errors_ in `Text.Gigaparsec.Errors.Patterns`. diff --git a/gigaparsec.cabal b/gigaparsec.cabal index 6c16509..f918352 100644 --- a/gigaparsec.cabal +++ b/gigaparsec.cabal @@ -20,7 +20,7 @@ name: gigaparsec -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.2.3.0 +version: 0.2.4.0 -- A short (one-line) description of the package. synopsis: diff --git a/src/Text/Gigaparsec/Token/Lexer.hs b/src/Text/Gigaparsec/Token/Lexer.hs index fd4ced9..6a2e024 100644 --- a/src/Text/Gigaparsec/Token/Lexer.hs +++ b/src/Text/Gigaparsec/Token/Lexer.hs @@ -3,7 +3,7 @@ -- Ideally, we should probably expose all the functionally via this one file -- for ergonomics module Text.Gigaparsec.Token.Lexer ( - Lexer, mkLexer, + Lexer, mkLexer, mkLexerWithErrorConfig, Lexeme, lexeme, nonlexeme, fully, space, apply, sym, symbol, names, -- Symbol @@ -27,7 +27,7 @@ module Text.Gigaparsec.Token.Lexer ( ) where import Text.Gigaparsec.Internal.Token.Lexer ( - Lexer, mkLexer, + Lexer, mkLexer, mkLexerWithErrorConfig, Lexeme (rawMultiStringLiteral), lexeme, nonlexeme, fully, space, apply, sym, symbol, names, integer, natural,