mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
parsing: simpler high-level parse error message
This commit is contained in:
parent
25234f7c2b
commit
f46cf82bed
@ -244,7 +244,7 @@ ledgerFile = do items <- many ledgerItem
|
||||
, ledgerEndTagDirective
|
||||
, emptyLine >> return (return id)
|
||||
, liftM (return . addTimeLogEntry) timelogentry
|
||||
]
|
||||
] <?> "ledger transaction, timelog entry, or directive"
|
||||
|
||||
emptyLine :: GenParser Char st ()
|
||||
emptyLine = do many spacenonewline
|
||||
|
Loading…
Reference in New Issue
Block a user