summaryrefslogtreecommitdiff
path: root/src/expr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 14:51:45 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 14:51:45 -0400
commit3ee3b8f327fa1943dba4ef6043559186b26f86b4 (patch)
tree31809a41826e69aa5ae3c3ed9789d2fb4a2fad52 /src/expr.h
parente0fab726c6e9e5e9ecc5b8cd6a7be2e8233826a6 (diff)
downloadfork-ledger-3ee3b8f327fa1943dba4ef6043559186b26f86b4.tar.gz
fork-ledger-3ee3b8f327fa1943dba4ef6043559186b26f86b4.tar.bz2
fork-ledger-3ee3b8f327fa1943dba4ef6043559186b26f86b4.zip
Recompile the amount_expr before summing account totals.
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr.h b/src/expr.h
index cebc7740..5b6b650d 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -128,6 +128,10 @@ public:
void parse(std::istream& in, const uint32_t flags = 0,
const string * original_string = NULL);
+ void mark_uncompiled() {
+ compiled = false;
+ }
+ void recompile(scope_t& scope);
void compile(scope_t& scope);
value_t calc(scope_t& scope);
value_t calc(scope_t& scope) const;