]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix regexp in last change.
authorRoland McGrath <roland@gnu.org>
Tue, 14 Jun 1994 00:58:05 +0000 (00:58 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 14 Jun 1994 00:58:05 +0000 (00:58 +0000)
lisp/progmodes/compile.el

index 76e71ec8215162ffdbcebc4901f257592f0b0be0..b217f9304ade5a8ecccc7bc3c3f89d6c3516f9ed 100644 (file)
@@ -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)