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
|
let ls' = filter (not . (ledgercommentline `parses`)) ls
|
||||||
guard (not $ null ls')
|
guard (not $ null ls')
|
||||||
return $ map (fromparse . parseWithCtx ctx ledgerposting) ls'
|
return $ map (fromparse . parseWithCtx ctx ledgerposting) ls'
|
||||||
<?> "ledger postings"
|
<?> "postings"
|
||||||
|
|
||||||
linebeginningwithspaces :: GenParser Char st String
|
linebeginningwithspaces :: GenParser Char st String
|
||||||
linebeginningwithspaces = do
|
linebeginningwithspaces = do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user