From efcefaab2950f741c7273cde77e9214593320fcb Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 20 Feb 2010 08:53:06 -0500 Subject: * progmodes/compile.el (compilation-error-regexp-alist-alist): In `watcom' anchor regexp to start of line, to avoid slowness (Bug#5599). --- lisp/ChangeLog | 6 ++++++ lisp/progmodes/compile.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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)) -- cgit v1.2.1