(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:
parent
d98a13da06
commit
6af2a5d9ba
1 changed files with 1 additions and 10 deletions
11
textual.cc
11
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 = "<Unspecified payee>";
|
||||
}
|
||||
curr->payee = next ? next : "<Unspecified payee>";
|
||||
|
||||
TIMER_STOP(entry_details);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue