hledger/hledger-lib/Hledger
Simon Michael e88a9c4a5f lib: followingcomment: parse no comment as "", not "\n"
Same-line & next-line comments of transactions, postings, etc.
are now parsed a bit more precisely. Previously parsing no comment
gave the same result as an empty comment (a single newline); now
it gives an empty string.

Also, and perhaps as a consequence of the above, when there's no
same-line comment but there is a next-line comment, we'll insert an
empty first line, otherwise next-line comments would get moved up to
the same line when rendered.

Some doctests have been added.
2018-08-03 19:38:55 +01:00
..
Data lib: AccountName: set OverloadedStrings for doctests 2018-08-03 19:05:14 +01:00
Read lib: followingcomment: parse no comment as "", not "\n" 2018-08-03 19:38:55 +01:00
Reports remove some unneeded CPP pragmas 2018-08-02 08:25:49 +01:00
Utils remove some unneeded CPP pragmas 2018-08-02 08:25:49 +01:00
Data.hs lib: AutoTransaction.hs -> TransactionModifier.hs, PeriodicTransaction.hs 2018-07-30 20:22:39 +01:00
Query.hs prices: allow filtering by query, clarify docs 2018-07-15 09:21:10 +01:00
Read.hs lib, app, web: remove differences between command line and journal file aliases 2018-04-17 16:09:11 -07:00
Reports.hs budget: use a new first-class BudgetReport for --budget 2018-04-23 18:52:28 -07:00
Utils.hs lib: make applyN more robust (#852) 2018-07-30 11:04:33 +01:00