diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-05 19:12:23 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-05 19:12:23 -0400 |
commit | 7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da (patch) | |
tree | ee00c3c5b17534ff44bedc9ff125eb6f3e25e40a /textual.cc | |
parent | 1741c80fe4f9dd896d4c8912b2ba35b14500ca1c (diff) | |
download | fork-ledger-7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da.tar.gz fork-ledger-7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da.tar.bz2 fork-ledger-7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da.zip |
added back sorting support
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,4 +1,3 @@ -#include "textual.h" #include "datetime.h" #include "autoxact.h" #include "valexpr.h" @@ -287,8 +286,8 @@ entry_t * parse_entry(std::istream& in, account_t * master) return curr; } -unsigned int parse_textual_ledger(std::istream& in, ledger_t * journal, - account_t * master) +unsigned int parse_textual_journal(std::istream& in, journal_t * journal, + account_t * master) { static char line[MAX_LINE + 1]; char c; @@ -518,8 +517,8 @@ unsigned int parse_textual_ledger(std::istream& in, ledger_t * journal, unsigned int curr_linenum = linenum; std::string curr_path = path; - count += parse_textual_ledger(stream, journal, - account_stack.front()); + count += parse_textual_journal(stream, journal, + account_stack.front()); linenum = curr_linenum; path = curr_path; |