From dbb8576d8bd55a2fe9b0964eb183f32463bb90ce Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 5 Apr 2010 20:37:19 +0000 Subject: [PATCH] don't ignore unparsed text following an amount --- hledger-lib/Ledger/Parse.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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