summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-02-20 08:53:06 -0500
committerChong Yidong <cyd@stupidchicken.com>2010-02-20 08:53:06 -0500
commitefcefaab2950f741c7273cde77e9214593320fcb (patch)
tree8e78af9c621a53e0e9dfb0da8c16f21307059c85
parentde448a77c34ad646153ba5d30fcb1e6cf8e5d536 (diff)
downloademacs-efcefaab2950f741c7273cde77e9214593320fcb.tar.gz
* progmodes/compile.el (compilation-error-regexp-alist-alist): In
`watcom' anchor regexp to start of line, to avoid slowness (Bug#5599).
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/compile.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2429ef42945..c141a762b8b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-20 Kevin Ryde <user42@zip.com.au>
+
+ * progmodes/compile.el (compilation-error-regexp-alist-alist): In
+ `watcom' anchor regexp to start of line, to avoid slowness
+ (Bug#5599).
+
2010-02-20 Eli Zaretskii <eliz@gnu.org>
* subr.el (remove-yank-excluded-properties): Explain in a comment
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 132b9dbe8f0..7e013b87c19 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -350,7 +350,7 @@ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?"
"^\\([^, \n\t]+\\), line \\([0-9]+\\), char \\([0-9]+\\)[:., \(-]" 1 2 3)
(watcom
- "\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)): ?\
+ "^[ \t]*\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)): ?\
\\(?:\\(Error! E[0-9]+\\)\\|\\(Warning! W[0-9]+\\)\\):"
1 2 nil (4))