]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to
authorChong Yidong <cyd@stupidchicken.com>
Tue, 6 May 2008 03:23:26 +0000 (03:23 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 6 May 2008 03:23:26 +0000 (03:23 +0000)
distinguish between errors and warnings.

lisp/progmodes/compile.el

index 53007347aadec58dd874cef84c8fd15603f567db..c2d0939bd753b915af91a1349e7beca54f7a710a 100644 (file)
@@ -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]+\\))\