summaryrefslogtreecommitdiff
path: root/src/op.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-05 16:15:09 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-05 16:15:09 -0400
commit290cac7b84b60305e185c140645c9bac2ca9fb0e (patch)
treec389da2eed81612ffb3868f61c31fa2534855fe1 /src/op.cc
parentf8bfbf8c250fa24bc9e26b9bf1eb64815a5a29ee (diff)
parent1417b40fdf0a92a85ab01f233c0ae076079901a2 (diff)
downloadfork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.tar.gz
fork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.tar.bz2
fork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.zip
Merge branch 'next'
Diffstat (limited to 'src/op.cc')
-rw-r--r--src/op.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/op.cc b/src/op.cc
index df222802..ca720535 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -78,10 +78,12 @@ expr_t::ptr_op_t expr_t::op_t::compile(scope_t& scope, const int depth)
// Identifier references are first looked up at the point of
// definition, and then at the point of every use if they could
// not be found there.
+#if defined(DEBUG_ON)
if (SHOW_DEBUG("expr.compile")) {
DEBUG("expr.compile", "Found definition:");
def->dump(*_log_stream, 0);
}
+#endif // defined(DEBUG_ON)
return copy(def);
}
else if (left()) {