From 08488d4cd733ff37a0a096f4b5bcbece0c181cc9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 17 Aug 2008 04:41:02 -0400 Subject: Removed more dead code and todo comments, and made it possible to stream compiled value expressions. --- src/op.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/op.h') diff --git a/src/op.h b/src/op.h index 17cb2f38..b155063d 100644 --- a/src/op.h +++ b/src/op.h @@ -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) {} }; -- cgit v1.2.3