aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-03-22 21:40:58 +0000
committernyamatongwe <devnull@localhost>2003-03-22 21:40:58 +0000
commita72365de506a64b46cd45b5e49e733e3eb194c29 (patch)
tree1e0892264ed56025c683e8b4c3381913148c9825 /src
parentb2684ec9cbc58990121d859fd4aa3e9ba105c71f (diff)
downloadscintilla-mirror-a72365de506a64b46cd45b5e49e733e3eb194c29.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)) {