1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(compilation-error-regexp-alist): Tighten first regexp so that it

requires a colon or open-paren before the line number, not just
whitespace.
This commit is contained in:
Roland McGrath 1993-04-07 20:14:29 +00:00
parent 42db823b21
commit f34a4d8dcc

View file

@ -108,7 +108,7 @@ or when it is used with \\[next-error] or \\[compile-goto-error].")
;; 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)