summaryrefslogtreecommitdiff
path: root/src/exprbase.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-07 05:49:20 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-07 08:32:13 -0400
commit8bd362b5d17782cf8fa5317017a1c5d73d76f1b7 (patch)
tree00e3897a80fd1f880e86992bea5f684c04be8566 /src/exprbase.h
parent6c8485e6ea9c8648dad10bbcde2a74c34e871ead (diff)
downloadfork-ledger-8bd362b5d17782cf8fa5317017a1c5d73d76f1b7.tar.gz
fork-ledger-8bd362b5d17782cf8fa5317017a1c5d73d76f1b7.tar.bz2
fork-ledger-8bd362b5d17782cf8fa5317017a1c5d73d76f1b7.zip
Minor optimization of how non --empty is handled
Diffstat (limited to 'src/exprbase.h')
-rw-r--r--src/exprbase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exprbase.h b/src/exprbase.h
index cf81a0a7..0c096ab4 100644
--- a/src/exprbase.h
+++ b/src/exprbase.h
@@ -162,6 +162,7 @@ public:
}
#endif // defined(DEBUG_ON)
+ DEBUG("expr.calc.when", "Compiling: " << str);
compile(scope);
#if defined(DEBUG_ON)
@@ -172,6 +173,7 @@ public:
#endif // defined(DEBUG_ON)
}
+ DEBUG("expr.calc.when", "Calculating: " << str);
return real_calc(scope);
}