diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-09 14:51:45 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-09 14:51:45 -0400 |
commit | 3ee3b8f327fa1943dba4ef6043559186b26f86b4 (patch) | |
tree | 31809a41826e69aa5ae3c3ed9789d2fb4a2fad52 /src/expr.h | |
parent | e0fab726c6e9e5e9ecc5b8cd6a7be2e8233826a6 (diff) | |
download | fork-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |