Mercurial > emacs
diff lisp/progmodes/compile.el @ 107202:5e6600997bb8
* progmodes/compile.el (compilation-error-regexp-alist-alist): In
`watcom' anchor regexp to start of line, to avoid slowness
(Bug#5599).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 20 Feb 2010 08:53:06 -0500 |
parents | 1d1d5d9bd884 |
children | 6edb016a3cfc bdf81babd7c5 |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Sat Feb 20 10:59:16 2010 +0200 +++ b/lisp/progmodes/compile.el Sat Feb 20 08:53:06 2010 -0500 @@ -350,7 +350,7 @@ "^\\([^, \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))