diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-07 05:38:13 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-07 05:38:13 -0600 |
commit | b17b6cd9d42eda5db0ecf69d7fdef7f4e64d6cb1 (patch) | |
tree | 9d02d267d04810102cc059315a2940a914748a77 /src/op.h | |
parent | 1e18536a8c6e3e83257687ec4588ddba5fcb890b (diff) | |
download | fork-ledger-b17b6cd9d42eda5db0ecf69d7fdef7f4e64d6cb1.tar.gz fork-ledger-b17b6cd9d42eda5db0ecf69d7fdef7f4e64d6cb1.tar.bz2 fork-ledger-b17b6cd9d42eda5db0ecf69d7fdef7f4e64d6cb1.zip |
Fixed parameter and argument scoping for O_CALL nodes
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,6 +69,7 @@ private: public: enum kind_t { // Constants + PLUG, VALUE, IDENT, @@ -274,7 +275,8 @@ public: static ptr_op_t new_node(kind_t _kind, ptr_op_t _left = NULL, ptr_op_t _right = NULL); - ptr_op_t compile(scope_t& scope, const int depth = 0); + ptr_op_t compile(scope_t& scope, const int depth = 0, + scope_t * param_scope = NULL); value_t calc(scope_t& scope, ptr_op_t * locus = NULL, const int depth = 0); |