Commit 81d93b5e authored by Roland McGrath's avatar Roland McGrath
Browse files

Fix regexp in last change.

parent 52b6d445
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment