From 3ee3b8f327fa1943dba4ef6043559186b26f86b4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 9 Feb 2009 14:51:45 -0400 Subject: Recompile the amount_expr before summing account totals. --- src/expr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/expr.h') 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; -- cgit v1.2.3