changeset 2476:11bc604c077f

(compilation-error-regexp-alist): Tighten first regexp so that it requires a colon or open-paren before the line number, not just whitespace.
author Roland McGrath <roland@gnu.org>
date Wed, 07 Apr 1993 20:14:29 +0000
parents 052bbdf1b817
children 4d0d858bc33f
files lisp/progmodes/compile.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Wed Apr 07 20:08:55 1993 +0000
+++ b/lisp/progmodes/compile.el	Wed Apr 07 20:14:29 1993 +0000
@@ -108,7 +108,7 @@
     ;; We'll insist that the number be followed by a colon or closing
     ;; paren, because otherwise this matches just about anything
     ;; containing a number with spaces around it.
-    ("^\\([^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2)
+    ("^\\([^:( \t\n]+\\)[ \t]*[:(][ \t]*\\([0-9]+\\)[:) \t]" 1 2)
 
     ;; 4.3BSD lint pass 2
     ;; 	strcmp: variable # of args. llib-lc(359)  ::  /usr/src/foo/foo.c(8)