diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-10 12:22:19 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-10 12:22:19 -0500 |
commit | 5ffa987daf4d97c52066e4c28733d826d3726297 (patch) | |
tree | ab058dec32702ccce9d1f7cacacb5b5c157d6798 /src/op.h | |
parent | 9e07e61fadf7f3c9d1fd32a3805f6e97163eba15 (diff) | |
parent | 3f638d355c977fd5513ab1db380c5813599f3664 (diff) | |
download | fork-ledger-5ffa987daf4d97c52066e4c28733d826d3726297.tar.gz fork-ledger-5ffa987daf4d97c52066e4c28733d826d3726297.tar.bz2 fork-ledger-5ffa987daf4d97c52066e4c28733d826d3726297.zip |
Merge branch 'next'
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -243,9 +243,6 @@ private: op->release(); } - static ptr_op_t new_node(kind_t _kind, ptr_op_t _left = NULL, - ptr_op_t _right = NULL); - ptr_op_t copy(ptr_op_t _left = NULL, ptr_op_t _right = NULL) const { ptr_op_t node(new_node(kind, _left, _right)); if (kind < TERMINALS) @@ -254,6 +251,9 @@ private: } 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); value_t calc(scope_t& scope, ptr_op_t * locus = NULL, const int depth = 0); |