diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-20 06:00:06 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-20 06:00:06 -0400 |
commit | b85e9ba95f215c12575417fdfc95fbdcad4de550 (patch) | |
tree | 627f4a46fb877dbce5f8ed2149cf96b396a1a1cd /textual.cc | |
parent | 20e35aa6f56bebd25863681e0406df4601e86a36 (diff) | |
download | ledger-b85e9ba95f215c12575417fdfc95fbdcad4de550.tar.gz ledger-b85e9ba95f215c12575417fdfc95fbdcad4de550.tar.bz2 ledger-b85e9ba95f215c12575417fdfc95fbdcad4de550.zip |
Everything but main.cc is compiling again (but with much #if 0'd code).
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -209,7 +209,7 @@ transaction_t * parse_transaction(char * line, account_t * account, } if (in.good() && ! in.eof()) { - xact->cost = new amount_t; + xact->cost = amount_t(); try { unsigned long beg = (long)in.tellg(); @@ -734,7 +734,9 @@ unsigned int textual_parser_t::parse(std::istream& in, if (p) *p++ = '\0'; } +#if 0 process_option(config_options, line + 2, p); +#endif break; } @@ -835,13 +837,15 @@ unsigned int textual_parser_t::parse(std::istream& in, // parser to resolve alias references. account_t * acct = account_stack.front()->find_account(e); std::pair<accounts_map::iterator, bool> result - = account_aliases.insert(accounts_map::pair_type(b, acct)); + = account_aliases.insert(accounts_map::value_type(b, acct)); assert(result.second); } } else if (word == "def") { +#if 0 if (! expr::global_scope.get()) init_value_expr(); +#endif parse_value_definition(p); } break; |