diff --git a/hledger-lib/Hledger/Read/Common.hs b/hledger-lib/Hledger/Read/Common.hs index 9c9b8aa5e..a42ef8de5 100644 --- a/hledger-lib/Hledger/Read/Common.hs +++ b/hledger-lib/Hledger/Read/Common.hs @@ -270,13 +270,12 @@ parseAndFinaliseJournal parser iopts f txt = do -- first pass applyTransactionModifiers <$> (journalBalanceTransactions False $ - -- journalReverse $ -- can skip this one + journalReverse $ + journalAddFile (f, txt) $ journalApplyCommodityStyles pj) -- second pass >>= (\j -> journalBalanceTransactions (not $ ignore_assertions_ iopts) $ - journalReverse $ - journalAddFile (f, txt) $ journalSetLastReadTime t $ j)