mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
dev: lib: Text.Megaparsec.Custom notes
This commit is contained in:
parent
de7d0a38a2
commit
33dba1945d
@ -1,3 +1,6 @@
|
||||
-- A bunch of megaparsec helpers for re-parsing etc.
|
||||
-- I think these are generic apart from the HledgerParseError name.
|
||||
|
||||
{-# LANGUAGE BangPatterns #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE FlexibleContexts #-}
|
||||
@ -59,6 +62,7 @@ import Text.Megaparsec
|
||||
--- * Custom parse error types
|
||||
|
||||
-- | Custom error data for hledger parsers. Specialised for a 'Text' parse stream.
|
||||
-- ReparseableTextParseErrorData ?
|
||||
data HledgerParseErrorData
|
||||
-- | Fail with a message at a specific source position interval. The
|
||||
-- interval must be contained within a single line.
|
||||
|
Loading…
Reference in New Issue
Block a user