summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-21 03:53:00 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-21 03:53:00 -0600
commitc47350dce9c666987f924c54507973fc11587b2e (patch)
treeaf3dce9cdcea344d640f108efd58bc949d0a2955 /src/report.cc
parent36922c5945290f43a3517fb2f5f155b287b9b565 (diff)
downloadfork-ledger-c47350dce9c666987f924c54507973fc11587b2e.tar.gz
fork-ledger-c47350dce9c666987f924c54507973fc11587b2e.tar.bz2
fork-ledger-c47350dce9c666987f924c54507973fc11587b2e.zip
Corrected handling of nested definitions
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index f4dc450e..38ae596a 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -1559,6 +1559,10 @@ expr_t::ptr_op_t report_t::lookup(const symbol_t::kind_t kind,
if (is_eq(p, "query"))
return WRAP_FUNCTOR(query_command);
break;
+ case 's':
+ if (is_eq(p, "script"))
+ return WRAP_FUNCTOR(source_command);
+ break;
case 't':
if (is_eq(p, "template"))
return WRAP_FUNCTOR(template_command);