1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(compilation-error-regexp-alist):

New alternatives for FILE:LINE.COL and for ranges of columns and lines.
This commit is contained in:
Richard M. Stallman 2002-04-06 15:57:47 +00:00
parent 232c8d4c10
commit fb49f36a2b
2 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-04-06 Richard M. Stallman <rms@gnu.org>
* progmodes/compile.el (compilation-error-regexp-alist):
New alternatives for FILE:LINE.COL and for ranges of columns and lines.
2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
* progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
@ -14,6 +19,11 @@
2002-04-04 Richard M. Stallman <rms@gnu.org>
* files.el (mode-line-format, mode-line-modified)
(mode-line-mule-info, mode-line-buffer-identification)
(mode-line-modes, mode-line-position): Explicitly mark as risky.
(hack-one-local-variable): Don't recognize "mode-line-..." as risky.
* calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
* mail/mailabbrev.el (mail-abbrev-make-syntax-table):

View File

@ -270,6 +270,33 @@ or when it is used with \\[next-error] or \\[compile-goto-error].")
\\([a-zA-Z]?:?[^:( \t\n]*[^:( \t\n0-9][^:( \t\n]*\\)[:(][ \t]*\\([0-9]+\\)\
\\([) \t]\\|:\\(\\([0-9]+:\\)\\|[0-9]*[^:0-9]\\)\\)" 2 3 6)
;; GNU utilities with precise locations (line and columns),
;; possibly ranges:
;; foo.c:8.23-9.1: error message
("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\
\\([0-9]+\\)\\.\\([0-9]+\\)\
-\\([0-9]+\\)\\.\\([0-9]+\\)\
:" 1 2 3) ;; When ending points are supported, add line = 4 and col = 5.
;; foo.c:8.23-45: error message
("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\
\\([0-9]+\\)\\.\\([0-9]+\\)\
-\\([0-9]+\\)\
:" 1 2 3) ;; When ending points are supported, add line = 2 and col = 4.
;; foo.c:8-45.3: error message
("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\
\\([0-9]+\\)\
-\\([0-9]+\\)\\.\\([0-9]+\\)\
:" 1 2 nil) ;; When ending points are supported, add line = 2 and col = 4.
;; foo.c:8.23: error message
("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\
\\([0-9]+\\)\\.\\([0-9]+\\)\
:" 1 2 3)
;; foo.c:8-23: error message
("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\
\\([0-9]+\\)\
-\\([0-9]+\\)\
:" 1 2 nil);; When ending points are supported, add line = 3.
;; Microsoft C/C++:
;; keyboard.c(537) : warning C4005: 'min' : macro redefinition
;; d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'