From: Chong Yidong Date: Tue, 6 May 2008 03:23:26 +0000 (+0000) Subject: (compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to X-Git-Tag: emacs-pretest-23.0.90~5788 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf3e72ae056fd1ab9ad006fd3c5c34b4267aaf11;p=emacs.git (compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to distinguish between errors and warnings. --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 53007347aad..c2d0939bd75 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -324,7 +324,9 @@ 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]+\\)): \\(?:Error! E[0-9]+\\|Warning! W[0-9]+\\):" 1 2) + "\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)): ?\ +\\(?:\\(Error! E[0-9]+\\)\\|\\(Warning! W[0-9]+\\)\\|\\(.\\)\\):" + 1 2 nil (4 . 5)) (4bsd "\\(?:^\\|:: \\|\\S ( \\)\\(/[^ \n\t()]+\\)(\\([0-9]+\\))\