diff lisp/progmodes/compile.el @ 72894:26df5bbb5d61

* progmodes/compile.el (compilation-error-regexp-alist-alist): Disallow filenames containing " -" to avoid confusion with libtool compilation messages.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 15 Sep 2006 15:37:36 +0000
parents 81a55a7dc3c3
children a90c9318cca9 b5c13d1564a9
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Fri Sep 15 14:26:04 2006 +0000
+++ b/lisp/progmodes/compile.el	Fri Sep 15 15:37:36 2006 +0000
@@ -229,7 +229,7 @@
      ;; 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:\\)\\|\