diff options
author | John Wiegley <johnw@newartisans.com> | 2005-08-24 02:34:16 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:18 -0400 |
commit | 14b49db0463ab1b2de89310876a1b21ddf8e608c (patch) | |
tree | 66d090ba5fa37185dc489554f1dd30a4e930c20e | |
parent | 747332b0852eee6fc9087dfa253a87ed3431705e (diff) | |
download | fork-ledger-14b49db0463ab1b2de89310876a1b21ddf8e608c.tar.gz fork-ledger-14b49db0463ab1b2de89310876a1b21ddf8e608c.tar.bz2 fork-ledger-14b49db0463ab1b2de89310876a1b21ddf8e608c.zip |
*** empty log message ***
-rw-r--r-- | qif.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -102,7 +102,7 @@ unsigned int qif_parser_t::parse(std::istream& in, case 'D': SET_BEG_POS_AND_LINE(); - in >> line; + get_line(in); if (! parse_date(line, &entry->date)) throw parse_error(path, linenum, "Failed to parse date"); break; @@ -110,7 +110,7 @@ unsigned int qif_parser_t::parse(std::istream& in, case 'T': case '$': { SET_BEG_POS_AND_LINE(); - in >> line; + get_line(in); xact->amount.parse(line); unsigned long flags = xact->amount.commodity().flags; @@ -145,10 +145,10 @@ unsigned int qif_parser_t::parse(std::istream& in, case 'N': SET_BEG_POS_AND_LINE(); if (std::isdigit(in.peek())) { - in >> line; + get_line(in); entry->code = line; } else { - in >> line; + get_line(in); } break; |