diff options
| author | Richard M. Stallman | 1997-08-29 02:08:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-29 02:08:28 +0000 |
| commit | d2705a1815f4ec01ce0c5cc60f6698cec9b8228e (patch) | |
| tree | e2351166deca655cdab75396ec82812e83d638dd | |
| parent | a337fe7f350e2e5a9e5945d56aaca0a972e8f262 (diff) | |
| download | emacs-d2705a1815f4ec01ce0c5cc60f6698cec9b8228e.tar.gz emacs-d2705a1815f4ec01ce0c5cc60f6698cec9b8228e.zip | |
(compilation-error-regexp-alist): Allow spaces in file names for Microsoft C;
check more carefully for the rest of the error message.
| -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].") | |||
| 163 | ;; This used to be less selective and allow characters other than | 163 | ;; This used to be less selective and allow characters other than |
| 164 | ;; parens around the line number, but that caused confusion for | 164 | ;; parens around the line number, but that caused confusion for |
| 165 | ;; GNU-style error messages. | 165 | ;; GNU-style error messages. |
| 166 | ("\\(\\([a-zA-Z]:\\)?[^:( \t\n-]+\\)(\\([0-9]+\\))" 1 3) | 166 | ;; This used to reject spaces and dashes in file names, |
| 167 | ;; but they are valudnow; so I made it more strict about the error | ||
| 168 | ;; message that follows. | ||
| 169 | ("\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) \ | ||
| 170 | : \\(error\\|warning\\) C[0-9]+:" 1 3) | ||
| 167 | 171 | ||
| 168 | ;; Borland C++: | 172 | ;; Borland C++: |
| 169 | ;; Error ping.c 15: Unable to open include file 'sys/types.h' | 173 | ;; Error ping.c 15: Unable to open include file 'sys/types.h' |