]> code.delx.au - gnu-emacs/commitdiff
(compilation-error-regexp-alist): In "IBM C/C++ Tools" regexp, disallow
authorRoland McGrath <roland@gnu.org>
Fri, 26 May 1995 16:24:57 +0000 (16:24 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 26 May 1995 16:24:57 +0000 (16:24 +0000)
leading spaces and disallow whitespace chars within the file name.

lisp/progmodes/compile.el

index 6c2caef14a6e6cf02cc0a38856f0d31345dc3a04..2395264e8e18a60ebb5e27030b17951b28bfde00 100644 (file)
@@ -188,7 +188,7 @@ of[ \t]+\"?\\([^\":\n]+\\)\"?:" 3 2)
     ;;  foo.c(2:0) : informational EDC0804: Function foo is not referenced.
     ;;  foo.c(3:8) : warning EDC0833: Implicit return statement encountered.
     ;;  foo.c(5:5) : error EDC0350: Syntax error.
-    ("\n *\\([^(]+\\)(\\([0-9]+\\):\\([0-9]+\\)) : " 1 2 3)
+    ("\n\\([^( \n\t]+\\)(\\([0-9]+\\):\\([0-9]+\\)) : " 1 2 3)
     )
   "Alist that specifies how to match errors in compiler output.
 Each elt has the form (REGEXP FILE-IDX LINE-IDX [COLUMN-IDX FILE-FORMAT...])