summaryrefslogtreecommitdiff
path: root/account.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-30 05:12:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-30 05:12:46 -0400
commit2aff35215fbe24459aa4057d5b31ea7490046ca6 (patch)
tree6a79a3d84e352e3b3647484b0daf38b1ae6aa81f /account.cc
parent230d7fd6027d05422f4bb26e9bfb3758a9cb16ea (diff)
downloadledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.tar.gz
ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.tar.bz2
ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.zip
Enabled a huge number of warning flags for g++ in acprep, and fixed them all
except for several unused parameter warnings (because there is so much code still #if 0'd out), and one implicit conversion from long long to long which still has to be dealt with.
Diffstat (limited to 'account.cc')
-rw-r--r--account.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/account.cc b/account.cc
index 0a5ea0dc..4a03e784 100644
--- a/account.cc
+++ b/account.cc
@@ -114,6 +114,15 @@ std::ostream& operator<<(std::ostream& out, const account_t& account)
return out;
}
+expr_t::ptr_op_t account_t::lookup(const string& name)
+{
+ switch (name[0]) {
+ case 'a':
+ break;
+ }
+ return expr_t::ptr_op_t();
+}
+
bool account_t::valid() const
{
if (depth > 256) {