From 4fe90137dc48e5ca07e9223694ab8926c9ebbf13 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 8 Apr 2000 02:16:50 +0000 Subject: Warning squashing. Updated contributors list. Fixed lexing of MS warnings. --- src/LexOthers.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/LexOthers.cxx') 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); -- cgit v1.2.3