From 6af2a5d9ba33da382490bc33a2afb83d990b27b1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 22 Aug 2005 08:49:53 +0000 Subject: (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). --- textual.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'textual.cc') diff --git a/textual.cc b/textual.cc index de4d32e4..1eb3ea9b 100644 --- a/textual.cc +++ b/textual.cc @@ -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 = ""; - } + curr->payee = next ? next : ""; TIMER_STOP(entry_details); -- cgit v1.2.3