summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/message.cpp4
-rw-r--r--src/pre.l1
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
diff --git a/src/pre.l b/src/pre.l
index 4c017da..2dafbde 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -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;
}