From dea2aed0b509734ec4e1cd163ac2a4f013000da2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 11 Jun 2010 16:03:50 -0400 Subject: Untabified all source files --- src/exprbase.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/exprbase.h') diff --git a/src/exprbase.h b/src/exprbase.h index 0c096ab4..7eee0398 100644 --- a/src/exprbase.h +++ b/src/exprbase.h @@ -78,7 +78,7 @@ public: protected: scope_t * context; string str; - bool compiled; + bool compiled; virtual result_type real_calc(scope_t& scope) = 0; @@ -117,7 +117,7 @@ public: return str; } void set_text(const string& txt) { - str = txt; + str = txt; compiled = false; } @@ -126,11 +126,11 @@ public: return parse(stream, flags, str); } virtual void parse(std::istream&, - const parse_flags_t& = PARSE_DEFAULT, - const optional& original_string = none) { + const parse_flags_t& = PARSE_DEFAULT, + const optional& original_string = none) { set_text(original_string ? *original_string : ""); } - + void mark_uncompiled() { compiled = false; } @@ -157,8 +157,8 @@ public: if (! compiled) { #if defined(DEBUG_ON) if (SHOW_DEBUG("expr.compile")) { - DEBUG("expr.compile", "Before compilation:"); - dump(*_log_stream); + DEBUG("expr.compile", "Before compilation:"); + dump(*_log_stream); } #endif // defined(DEBUG_ON) @@ -167,8 +167,8 @@ public: #if defined(DEBUG_ON) if (SHOW_DEBUG("expr.compile")) { - DEBUG("expr.compile", "After compilation:"); - dump(*_log_stream); + DEBUG("expr.compile", "After compilation:"); + dump(*_log_stream); } #endif // defined(DEBUG_ON) } @@ -249,7 +249,7 @@ private: template std::ostream& operator<<(std::ostream& out, - const expr_base_t& expr) { + const expr_base_t& expr) { expr.print(out); return out; } -- cgit v1.2.3