Commit e7601974 authored by Roland McGrath's avatar Roland McGrath
Browse files

(compilation-error-regexp-alist): Extend first regexp to handle Borland C++

msgs: "Warning" or "Error" before file name.
parent a7085d65
...@@ -108,11 +108,15 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") ...@@ -108,11 +108,15 @@ or when it is used with \\[next-error] or \\[compile-goto-error].")
;; foo.c:8: error message ;; foo.c:8: error message
;; or HP-UX 7.0 fc: ;; or HP-UX 7.0 fc:
;; foo.f :16 some horrible error message ;; foo.f :16 some horrible error message
;; or Borland C++:
;; Error ping.c 15: Unable to open include file 'sys/types.h'
;; Warning ping.c 68: Call to function 'func' with no prototype
;; ;;
;; We'll insist that the number be followed by a colon or closing ;; We'll insist that the number be followed by a colon or closing
;; paren, because otherwise this matches just about anything ;; paren, because otherwise this matches just about anything
;; containing a number with spaces around it. ;; containing a number with spaces around it.
("\n\\([^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)[:) \t]" 1 2) ("\n\\(Error\\|Warning\\)[ \t]*\\([^:( \t\n]+\\)\
[:(][ \t]*\\([0-9]+\\)[:) \t]" 2 3)
;; 4.3BSD lint pass 2 ;; 4.3BSD lint pass 2
;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) ;; 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