changeset 94657:11f8893e574f

(compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to distinguish between errors and warnings.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 06 May 2008 03:23:26 +0000
parents 74714e1661c4
children eb7b2376cae5
files lisp/progmodes/compile.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Tue May 06 03:23:11 2008 +0000
+++ b/lisp/progmodes/compile.el	Tue May 06 03:23:26 2008 +0000
@@ -324,7 +324,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]+\\))\