summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-05-06 03:23:26 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-05-06 03:23:26 +0000
commitbf3e72ae056fd1ab9ad006fd3c5c34b4267aaf11 (patch)
tree8e5c30d2a706674d0131d133190746e4988d9252
parent7c28331cb1ab8118e91a19c51081ad4244deb0a6 (diff)
downloademacs-bf3e72ae056fd1ab9ad006fd3c5c34b4267aaf11.tar.gz
(compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to
distinguish between errors and warnings.
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 3 insertions, 1 deletions
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]+\\))\