diff options
author | John Wiegley <johnw@newartisans.com> | 2005-08-22 08:49:53 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:17 -0400 |
commit | 6af2a5d9ba33da382490bc33a2afb83d990b27b1 (patch) | |
tree | eed6317c6455c389dca52bfe34df47cdf42d550e /textual.cc | |
parent | d98a13da0654d1dfce31d638678efd8504320ba8 (diff) | |
download | fork-ledger-6af2a5d9ba33da382490bc33a2afb83d990b27b1.tar.gz fork-ledger-6af2a5d9ba33da382490bc33a2afb83d990b27b1.tar.bz2 fork-ledger-6af2a5d9ba33da382490bc33a2afb83d990b27b1.zip |
(parse_entry): Removed "single line" transaction parsing and went back
to 2.3 behavior (where transactions always appear after the line
containing the date and payee).
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -329,16 +329,7 @@ entry_t * parse_entry(std::istream& in, char * line, account_t * master, // Parse the description text - if (next) { - char * first = next_element(next, true); - curr->payee = next; - - if (first) - if (transaction_t * xact = parse_transaction(first, master)) - curr->add_transaction(xact); - } else { - curr->payee = "<Unspecified payee>"; - } + curr->payee = next ? next : "<Unspecified payee>"; TIMER_STOP(entry_details); |