diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-17 04:41:02 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-17 04:41:02 -0400 |
commit | 08488d4cd733ff37a0a096f4b5bcbece0c181cc9 (patch) | |
tree | d7a9e55a030707adab9935885f2fad278d10e83b /src/op.h | |
parent | 1c079630cf21c2e257e272897a987c0968571865 (diff) | |
download | fork-ledger-08488d4cd733ff37a0a096f4b5bcbece0c181cc9.tar.gz fork-ledger-08488d4cd733ff37a0a096f4b5bcbece0c181cc9.tar.bz2 fork-ledger-08488d4cd733ff37a0a096f4b5bcbece0c181cc9.zip |
Removed more dead code and todo comments, and made it possible to stream
compiled value expressions.
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -278,19 +278,16 @@ public: struct print_context_t { - scope_t& scope; - const bool relaxed; - const ptr_op_t& op_to_find; + const bool relaxed; + const ptr_op_t& op_to_find; ostream_pos_type * start_pos; ostream_pos_type * end_pos; - // jww (2008-08-01): Is a scope needed here? - print_context_t(scope_t& _scope, - const bool _relaxed = false, + print_context_t(const bool _relaxed = false, const ptr_op_t& _op_to_find = ptr_op_t(), ostream_pos_type * _start_pos = NULL, ostream_pos_type * _end_pos = NULL) - : scope(_scope), relaxed(_relaxed), op_to_find(_op_to_find), + : relaxed(_relaxed), op_to_find(_op_to_find), start_pos(_start_pos), end_pos(_end_pos) {} }; |