aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-08 02:16:50 +0000
committernyamatongwe <unknown>2000-04-08 02:16:50 +0000
commit544b81845f054f23f488f758460136604735befa (patch)
treec731acca218796e64e4dfcfad2d5b507377dd60a /src/LexOthers.cxx
parent8e14fe0dec5bf0e7a5f38026693332810eebd733 (diff)
downloadscintilla-mirror-544b81845f054f23f488f758460136604735befa.tar.gz
Warning squashing.
Updated contributors list. Fixed lexing of MS warnings.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r--src/LexOthers.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index 222bc74ff..30589d6f3 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -158,7 +158,6 @@ static void ColouriseErrorListLine(char *lineBuffer, int lengthLine, int endPos,
state = 14;
} else if (state == 11 && lineBuffer[i] == ')') {
state = 12;
- break;
} else if (state == 12 && lineBuffer[i] == ':') {
state = 13;
} else if (state == 14 && lineBuffer[i] == ')') {
@@ -170,7 +169,7 @@ static void ColouriseErrorListLine(char *lineBuffer, int lengthLine, int endPos,
}
if (state == 3) {
styler.ColourTo(endPos, 2);
- } else if ((state == 14) || (state == 15)) {
+ } else if ((state == 13) || (state == 14) || (state == 15)) {
styler.ColourTo(endPos, 3);
} else {
styler.ColourTo(endPos, 0);