aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-03-22 21:40:58 +0000
committernyamatongwe <unknown>2003-03-22 21:40:58 +0000
commitf3db027934debc5c66e1b6f1b9065c5b9af154c8 (patch)
tree1e0892264ed56025c683e8b4c3381913148c9825 /src
parent15b64660b6a2bf8033a992901f8e6a7edbdf9570 (diff)
downloadscintilla-mirror-f3db027934debc5c66e1b6f1b9065c5b9af154c8.tar.gz
Allow tab as well as space after ':' in GCC error messages.
Diffstat (limited to 'src')
-rw-r--r--src/LexOthers.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index 1b44e1098..9da18f481 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -431,7 +431,7 @@ static void ColouriseErrorListLine(
} else if ((state == 1) && isdigit(ch)) {
state = 2;
} else if (state == 2) {
- if ((ch == ':') && (chNext == ' ')) {
+ if ((ch == ':') && ((chNext == ' ') || (chNext == '\t'))) {
state = 3; // :9.*: is GCC
break;
} else if (!isdigit(ch)) {