diff options
-rw-r--r-- | src/message.cpp | 4 | ||||
-rw-r--r-- | src/pre.l | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/message.cpp b/src/message.cpp index dd1f05c..7c9c02b 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -26,8 +26,8 @@ #include "filedef.h" static QCString outputFormat; -static const char *warning_str = "Warning: "; -static const char *error_str = "Error: "; +static const char *warning_str = "warning: "; +static const char *error_str = "error: "; //static int warnFormatOrder; // 1 = $file,$line,$text // // 2 = $text,$line,$file // // 3 = $line,$text,$file @@ -232,6 +232,7 @@ class DefineManager Define *isDefined(const char *name) const { Define *d = m_contextDefines.find(name); + if (d && d->undef) d=0; //printf("isDefined(%s)=%p\n",name,d); return d; } |