# HG changeset patch # User Roland McGrath # Date 734213669 0 # Node ID 11bc604c077f5ec4c47deebeef6fbf1f72d87784 # Parent 052bbdf1b81777f254342542d2302c12776506dc (compilation-error-regexp-alist): Tighten first regexp so that it requires a colon or open-paren before the line number, not just whitespace. diff -r 052bbdf1b817 -r 11bc604c077f lisp/progmodes/compile.el --- 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)