(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).
This commit is contained in:
John Wiegley 2005-08-22 08:49:53 +00:00
parent d98a13da06
commit 6af2a5d9ba

View file

@ -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);