mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
don't ignore unparsed text following an amount
This commit is contained in:
parent
8bfb4abfd5
commit
dbb8576d8b
@ -424,7 +424,7 @@ ledgerposting = do
|
|||||||
amount <- postingamount
|
amount <- postingamount
|
||||||
many spacenonewline
|
many spacenonewline
|
||||||
comment <- ledgercomment <|> return ""
|
comment <- ledgercomment <|> return ""
|
||||||
restofline
|
newline
|
||||||
return (Posting status account' amount comment ptype Nothing)
|
return (Posting status account' amount comment ptype Nothing)
|
||||||
|
|
||||||
-- Qualify with the parent account from parsing context
|
-- Qualify with the parent account from parsing context
|
||||||
|
Loading…
Reference in New Issue
Block a user