diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-29 02:08:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-29 02:08:28 +0000 |
commit | d2705a1815f4ec01ce0c5cc60f6698cec9b8228e (patch) | |
tree | e2351166deca655cdab75396ec82812e83d638dd /lisp | |
parent | a337fe7f350e2e5a9e5945d56aaca0a972e8f262 (diff) | |
download | emacs-d2705a1815f4ec01ce0c5cc60f6698cec9b8228e.tar.gz |
(compilation-error-regexp-alist): Allow spaces in file names for Microsoft C;
check more carefully for the rest of the error message.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/compile.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d9a7d9d0519..6d12db7075d 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -163,7 +163,11 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") ;; This used to be less selective and allow characters other than ;; parens around the line number, but that caused confusion for ;; GNU-style error messages. - ("\\(\\([a-zA-Z]:\\)?[^:( \t\n-]+\\)(\\([0-9]+\\))" 1 3) + ;; This used to reject spaces and dashes in file names, + ;; but they are valudnow; so I made it more strict about the error + ;; message that follows. + ("\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) \ +: \\(error\\|warning\\) C[0-9]+:" 1 3) ;; Borland C++: ;; Error ping.c 15: Unable to open include file 'sys/types.h' |