# HG changeset patch # User Richard M. Stallman # Date 872820508 0 # Node ID bc9b6200a609f3d02a6817f6487c5bd79903a4f5 # Parent 4cdef838afb085eff2b92913b010b625d8c9e127 (compilation-error-regexp-alist): Allow spaces in file names for Microsoft C; check more carefully for the rest of the error message. diff -r 4cdef838afb0 -r bc9b6200a609 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Fri Aug 29 02:06:39 1997 +0000 +++ b/lisp/progmodes/compile.el Fri Aug 29 02:08:28 1997 +0000 @@ -163,7 +163,11 @@ ;; 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'