document an issue with parse errors

This commit is contained in:
Simon Michael 2008-10-08 17:47:58 +00:00
parent b00dc34b4f
commit b8b3de0719

View File

@ -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