Mercurial > emacs
changeset 20966:1abf4d6ec488
(compilation-error-regexp-alist): Allow initial
program name in first pattern.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 24 Feb 1998 12:45:02 +0000 |
parents | 8c68721e5ec9 |
children | e57454838582 |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Tue Feb 24 06:57:15 1998 +0000 +++ b/lisp/progmodes/compile.el Tue Feb 24 12:45:02 1998 +0000 @@ -150,12 +150,14 @@ ;; foo.f :16 some horrible error message ;; or GNU utilities with column (GNAT 1.82): ;; foo.adb:2:1: Unit name does not match file name + ;; or with column and program name: + ;; jade:dbcommon.dsl:133:17:E: missing argument for function call ;; ;; We'll insist that the number be followed by a colon or closing ;; paren, because otherwise this matches just about anything ;; containing a number with spaces around it. - ("\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)\\([) \t]\\|\ -:\\([^0-9\n]\\|\\([0-9]+:\\)\\)\\)" 1 2 5) + ("\\([a-zA-Z]+:\\)?\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)\ +\\([) \t]\\|:\\([^0-9\n]\\|\\([0-9]+:\\)\\)\\)" 2 3 6) ;; Microsoft C/C++: ;; keyboard.c(537) : warning C4005: 'min' : macro redefinition