aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1993-04-07 20:14:29 +0000
committerRoland McGrath1993-04-07 20:14:29 +0000
commitf34a4d8dccc817707597edfbcc50071a36112099 (patch)
treede764766d5889f9f62be89ea42a21147c485d8cf
parent42db823b21c53ae65257106aff433c83ecb0d2d5 (diff)
downloademacs-f34a4d8dccc817707597edfbcc50071a36112099.tar.gz
emacs-f34a4d8dccc817707597edfbcc50071a36112099.zip
(compilation-error-regexp-alist): Tighten first regexp so that it
requires a colon or open-paren before the line number, not just whitespace.
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 30697318ebc..bf860e6c38f 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -108,7 +108,7 @@ or when it is used with \\[next-error] or \\[compile-goto-error].")
108 ;; We'll insist that the number be followed by a colon or closing 108 ;; We'll insist that the number be followed by a colon or closing
109 ;; paren, because otherwise this matches just about anything 109 ;; paren, because otherwise this matches just about anything
110 ;; containing a number with spaces around it. 110 ;; containing a number with spaces around it.
111 ("^\\([^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2) 111 ("^\\([^:( \t\n]+\\)[ \t]*[:(][ \t]*\\([0-9]+\\)[:) \t]" 1 2)
112 112
113 ;; 4.3BSD lint pass 2 113 ;; 4.3BSD lint pass 2
114 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) 114 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8)