mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 05:39:31 +03:00
document an issue with parse errors
This commit is contained in:
parent
b00dc34b4f
commit
b8b3de0719
@ -152,6 +152,9 @@ reservedOp = P.reservedOp lexer
|
||||
|
||||
-- parsers
|
||||
|
||||
-- | Parse a RawLedger from either a ledger file or a timelog file.
|
||||
-- It tries first the ledger parser then the timelog parser, unfortunately
|
||||
-- this obscures ledger file parse errors.
|
||||
ledgerfile :: Parser RawLedger
|
||||
ledgerfile = try (ledger) <|> ledgerfromtimelog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user