From 81d93b5e634be0eaa5610eed035fcabfe1e05c40 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 14 Jun 1994 00:58:05 +0000 Subject: [PATCH] Fix regexp in last change. --- lisp/progmodes/compile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 76e71ec8215..b217f9304ad 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -115,8 +115,8 @@ 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. - ("\n\\(Error\\|Warning\\)[ \t]*\\([^:( \t\n]+\\)\ -[:(][ \t]*\\([0-9]+\\)[:) \t]" 2 3) + ("\n\\(Error\\|Warning\\)?[ \t]*\\([^:( \t\n]+\\)\ +[:(]?[ \t]*\\([0-9]+\\)[:) \t]" 2 3) ;; 4.3BSD lint pass 2 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) -- 2.39.5