diff --git a/hledger-lib/Ledger/Parse.hs b/hledger-lib/Ledger/Parse.hs index eae454e77..ba873fd93 100644 --- a/hledger-lib/Ledger/Parse.hs +++ b/hledger-lib/Ledger/Parse.hs @@ -424,7 +424,7 @@ ledgerposting = do amount <- postingamount many spacenonewline comment <- ledgercomment <|> return "" - restofline + newline return (Posting status account' amount comment ptype Nothing) -- Qualify with the parent account from parsing context