summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-09-15 15:37:58 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-09-15 15:37:58 +0000
commitd25593b77e1dfd3d18e3201d9e2bc587bcdec511 (patch)
tree95198a4bd1fafa9a10964aa1eb6c1905f8ad3601 /lisp/progmodes/compile.el
parent004d27a66817f2d85c9ec27f15e54d9bd34ea21b (diff)
downloademacs-d25593b77e1dfd3d18e3201d9e2bc587bcdec511.tar.gz
* progmodes/compile.el (compilation-error-regexp-alist-alist):
Disallow filenames containing " -" to avoid confusion with libtool compilation messages.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index f4dd0fb5597..e6a6a8ed9c5 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -229,7 +229,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
;; the last line tries to rule out message where the info after the
;; line number starts with "SS". --Stef
"^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
-\\([0-9]*[^0-9\n].*?\\): ?\
+\\([0-9]*[^0-9\n]\\(?:[^\n ]\\| [^-\n]\\)*?\\): ?\
\\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\
\\(?:-\\([0-9]+\\)?\\(?:\\3\\([0-9]+\\)\\)?\\)?:\
\\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\