changeset 7882:b91169855db4

Fix regexp in last change.
author Roland McGrath <roland@gnu.org>
date Tue, 14 Jun 1994 00:58:05 +0000
parents 4ab8723cd491
children cba3121c44b7
files lisp/progmodes/compile.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Tue Jun 14 00:34:43 1994 +0000
+++ b/lisp/progmodes/compile.el	Tue Jun 14 00:58:05 1994 +0000
@@ -115,8 +115,8 @@
     ;; 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)