diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-25 04:37:27 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-25 05:01:47 -0400 |
commit | 9b13e77ff5d8cb7ce74c8560364609213a2f8aee (patch) | |
tree | f5d89d169230b802b886186e04adcf96cb8fac0b /src/op.h | |
parent | fc84eeb358f13b7c2b2668917692da26af001901 (diff) | |
download | fork-ledger-9b13e77ff5d8cb7ce74c8560364609213a2f8aee.tar.gz fork-ledger-9b13e77ff5d8cb7ce74c8560364609213a2f8aee.tar.bz2 fork-ledger-9b13e77ff5d8cb7ce74c8560364609213a2f8aee.zip |
Improved debug output of "--debug expr.calc"
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -262,8 +262,9 @@ private: } public: - ptr_op_t compile(scope_t& scope); - value_t calc(scope_t& scope, ptr_op_t * locus = NULL); + ptr_op_t compile(scope_t& scope, const int depth = 0); + value_t calc(scope_t& scope, ptr_op_t * locus = NULL, + const int depth = 0); struct context_t { |