summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-13 10:35:08 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-13 10:35:08 -0500
commit37347bad56646f3f3e7e10ee0303e6429c29bbba (patch)
tree5593a508d32ee14de39cbdb1b51e7f1908d21ff2 /src/report.cc
parentc4e942fcb163583e426dc1f65b0afb0bb75c21e3 (diff)
downloadfork-ledger-37347bad56646f3f3e7e10ee0303e6429c29bbba.tar.gz
fork-ledger-37347bad56646f3f3e7e10ee0303e6429c29bbba.tar.bz2
fork-ledger-37347bad56646f3f3e7e10ee0303e6429c29bbba.zip
Add experimental support for select queries
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index e93bd6fd..91de2eb5 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -41,6 +41,7 @@
#include "iterators.h"
#include "filters.h"
#include "precmd.h"
+#include "select.h"
#include "stats.h"
#include "generate.h"
#include "draft.h"
@@ -1633,6 +1634,8 @@ expr_t::ptr_op_t report_t::lookup(const symbol_t::kind_t kind,
return WRAP_FUNCTOR(report_statistics);
else if (is_eq(p, "source"))
return WRAP_FUNCTOR(source_command);
+ else if (is_eq(p, "select"))
+ return WRAP_FUNCTOR(select_command);
break;
case 'x':