From: Roland McGrath Date: Fri, 26 May 1995 16:24:57 +0000 (+0000) Subject: (compilation-error-regexp-alist): In "IBM C/C++ Tools" regexp, disallow X-Git-Tag: emacs-19.34~3913 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=54de3248dc7678310e02aa194065f1c0015ede2e;p=emacs.git (compilation-error-regexp-alist): In "IBM C/C++ Tools" regexp, disallow leading spaces and disallow whitespace chars within the file name. --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 6c2caef14a6..2395264e8e1 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -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...])