mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
better postings parse error
This commit is contained in:
parent
f7e8ae1c55
commit
29bf134624
@ -375,7 +375,7 @@ ledgerpostings = do
|
||||
let ls' = filter (not . (ledgercommentline `parses`)) ls
|
||||
guard (not $ null ls')
|
||||
return $ map (fromparse . parseWithCtx ctx ledgerposting) ls'
|
||||
<?> "ledger postings"
|
||||
<?> "postings"
|
||||
|
||||
linebeginningwithspaces :: GenParser Char st String
|
||||
linebeginningwithspaces = do
|
||||
|
Loading…
Reference in New Issue
Block a user