diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-24 20:29:20 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-24 20:29:20 -0400 |
commit | 35da9ad4665416fe8b016f3fd7cad4975fc3e090 (patch) | |
tree | 000509043e43b74b2e546fe4b06090e5b5a87c5a /src/report.cc | |
parent | 024fb4f3e0f659fca5aa3770d5d70ac5827797f7 (diff) | |
download | fork-ledger-35da9ad4665416fe8b016f3fd7cad4975fc3e090.tar.gz fork-ledger-35da9ad4665416fe8b016f3fd7cad4975fc3e090.tar.bz2 fork-ledger-35da9ad4665416fe8b016f3fd7cad4975fc3e090.zip |
Added "source" command, for executing valexpr files
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc index b9ed540c..8f06911c 100644 --- a/src/report.cc +++ b/src/report.cc @@ -1449,6 +1449,8 @@ expr_t::ptr_op_t report_t::lookup(const symbol_t::kind_t kind, case 's': if (is_eq(p, "stats") || is_eq(p, "stat")) return WRAP_FUNCTOR(report_statistics); + else if (is_eq(p, "source")) + return WRAP_FUNCTOR(source_command); break; case 'x': |