aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexErrorList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexErrorList.cxx')
-rw-r--r--lexers/LexErrorList.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/lexers/LexErrorList.cxx b/lexers/LexErrorList.cxx
index d6fe5ee77..142b7b5a5 100644
--- a/lexers/LexErrorList.cxx
+++ b/lexers/LexErrorList.cxx
@@ -257,6 +257,10 @@ static int RecogniseErrorListLine(const char *lineBuffer, Sci_PositionU lengthLi
return SCE_ERR_MS;
} else if ((state == stCtagsStringDollar) || (state == stCtags)) {
return SCE_ERR_CTAG;
+ } else if (initialColonPart && strstr(lineBuffer, ": warning C")) {
+ // Microsoft warning without line number
+ // <filename>: warning C9999
+ return SCE_ERR_MS;
} else {
return SCE_ERR_DEFAULT;
}