summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-25 04:37:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-25 05:01:47 -0400
commit9b13e77ff5d8cb7ce74c8560364609213a2f8aee (patch)
treef5d89d169230b802b886186e04adcf96cb8fac0b /src/op.h
parentfc84eeb358f13b7c2b2668917692da26af001901 (diff)
downloadfork-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/op.h b/src/op.h
index 1f9af185..c79ed3f6 100644
--- a/src/op.h
+++ b/src/op.h
@@ -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
{