From e2afc783db0dff1927b00dc506390353d9e3bbd2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 29 Feb 2012 22:32:23 -0600 Subject: Increased file copyrights to 2012 --- src/exprbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exprbase.h') diff --git a/src/exprbase.h b/src/exprbase.h index e0e2824f..0b1ef243 100644 --- a/src/exprbase.h +++ b/src/exprbase.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2010, John Wiegley. All rights reserved. + * Copyright (c) 2003-2012, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are -- cgit v1.2.3 From 7b12b3041dccfb082949a5f1fdbd83396aae4f26 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 5 Mar 2012 22:47:06 -0600 Subject: Make exprbase_t::text() a const member function --- src/exprbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exprbase.h') diff --git a/src/exprbase.h b/src/exprbase.h index 0b1ef243..56900dbb 100644 --- a/src/exprbase.h +++ b/src/exprbase.h @@ -113,7 +113,7 @@ public: return ! str.empty(); } - virtual string text() { + virtual string text() const throw() { return str; } void set_text(const string& txt) { -- cgit v1.2.3 From 755495ee8a019e458f43ea03449e7cd21d3f277f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Mar 2012 10:33:06 -0600 Subject: Changed scope of two DEBUG statements --- src/exprbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exprbase.h') diff --git a/src/exprbase.h b/src/exprbase.h index 56900dbb..bea25320 100644 --- a/src/exprbase.h +++ b/src/exprbase.h @@ -163,7 +163,7 @@ public: } #endif // defined(DEBUG_ON) - DEBUG("expr.calc.when", "Compiling: " << str); + DEBUG("expr.compile", "Compiling: " << str); compile(scope); #if defined(DEBUG_ON) @@ -174,7 +174,7 @@ public: #endif // defined(DEBUG_ON) } - DEBUG("expr.calc.when", "Calculating: " << str); + DEBUG("expr.calc", "Calculating: " << str); return real_calc(scope); } -- cgit v1.2.3