*** empty log message ***
This commit is contained in:
parent
747332b085
commit
14b49db046
1 changed files with 4 additions and 4 deletions
8
qif.cc
8
qif.cc
|
|
@ -102,7 +102,7 @@ unsigned int qif_parser_t::parse(std::istream& in,
|
||||||
|
|
||||||
case 'D':
|
case 'D':
|
||||||
SET_BEG_POS_AND_LINE();
|
SET_BEG_POS_AND_LINE();
|
||||||
in >> line;
|
get_line(in);
|
||||||
if (! parse_date(line, &entry->date))
|
if (! parse_date(line, &entry->date))
|
||||||
throw parse_error(path, linenum, "Failed to parse date");
|
throw parse_error(path, linenum, "Failed to parse date");
|
||||||
break;
|
break;
|
||||||
|
|
@ -110,7 +110,7 @@ unsigned int qif_parser_t::parse(std::istream& in,
|
||||||
case 'T':
|
case 'T':
|
||||||
case '$': {
|
case '$': {
|
||||||
SET_BEG_POS_AND_LINE();
|
SET_BEG_POS_AND_LINE();
|
||||||
in >> line;
|
get_line(in);
|
||||||
xact->amount.parse(line);
|
xact->amount.parse(line);
|
||||||
|
|
||||||
unsigned long flags = xact->amount.commodity().flags;
|
unsigned long flags = xact->amount.commodity().flags;
|
||||||
|
|
@ -145,10 +145,10 @@ unsigned int qif_parser_t::parse(std::istream& in,
|
||||||
case 'N':
|
case 'N':
|
||||||
SET_BEG_POS_AND_LINE();
|
SET_BEG_POS_AND_LINE();
|
||||||
if (std::isdigit(in.peek())) {
|
if (std::isdigit(in.peek())) {
|
||||||
in >> line;
|
get_line(in);
|
||||||
entry->code = line;
|
entry->code = line;
|
||||||
} else {
|
} else {
|
||||||
in >> line;
|
get_line(in);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue