diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-05-28 19:46:08 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-05-28 19:46:08 (GMT) |
commit | 832e08dcc70203d84f75249583a95fa172492aa2 (patch) | |
tree | 1f7723f69aa2917d2408894c68e7150f7b7ff3d5 /src/message.cpp | |
parent | f38608d4bec002a5051c860a599dd4d5229a9671 (diff) | |
download | Doxygen-832e08dcc70203d84f75249583a95fa172492aa2.zip Doxygen-832e08dcc70203d84f75249583a95fa172492aa2.tar.gz Doxygen-832e08dcc70203d84f75249583a95fa172492aa2.tar.bz2 |
Release-1.1.3-20000528
Diffstat (limited to 'src/message.cpp')
-rw-r--r-- | src/message.cpp | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/message.cpp b/src/message.cpp index 678a80a..9554c02 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -18,7 +18,7 @@ #include <stdarg.h> #include <stdio.h> #include "config.h" -#include <qregexp.h> +#include "util.h" static QCString outputFormat; static int warnFormatOrder; // 1 = $file,$line,$text @@ -62,11 +62,22 @@ void initWarningFormat() { warnFormatOrder = 6; } - outputFormat = Config::warnFormat. - replace(QRegExp("\\$file"),"%s"). - replace(QRegExp("\\$text"),"%s"). - replace(QRegExp("\\$line"),"%d")+ - '\n'; + outputFormat = + substitute( + substitute( + substitute( + Config::warnFormat, + "$file","%s" + ), + "$text","%s" + ), + "$line","%d" + )+'\n'; + + // replace(QRegExp("\\$file"),"%s"). + // replace(QRegExp("\\$text"),"%s"). + // replace(QRegExp("\\$line"),"%d")+ + // '\n'; } |