diff options
| author | Chong Yidong | 2006-09-05 14:53:24 +0000 |
|---|---|---|
| committer | Chong Yidong | 2006-09-05 14:53:24 +0000 |
| commit | 6e1a95973d795cccda66c1fae770a3fe1bf8a3c8 (patch) | |
| tree | cab956055f12e952d377e9ada122da4368d3411a | |
| parent | 695ff2779ec5c50bd3625c0d86bee3dc5589d58e (diff) | |
| download | emacs-6e1a95973d795cccda66c1fae770a3fe1bf8a3c8.tar.gz emacs-6e1a95973d795cccda66c1fae770a3fe1bf8a3c8.zip | |
* progmodes/compile.el (compilation-error-regexp-alist-alist):
Process the `gcc-include' after the `gnu' rule.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 86c2c2c6e90..7632c7dccb3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-09-05 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * progmodes/compile.el (compilation-error-regexp-alist-alist): | ||
| 4 | Process the `gcc-include' after the `gnu' rule. | ||
| 5 | |||
| 1 | 2006-09-05 Kim F. Storm <storm@cua.dk> | 6 | 2006-09-05 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * ido.el (ido-visit-buffer): Use buffer name if buffer arg is a buffer. | 8 | * ido.el (ido-visit-buffer): Use buffer name if buffer arg is a buffer. |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index e8c09113d39..1c59409566a 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -218,10 +218,6 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 218 | nil 1 nil 2 0 | 218 | nil 1 nil 2 0 |
| 219 | (2 (compilation-face '(3)))) | 219 | (2 (compilation-face '(3)))) |
| 220 | 220 | ||
| 221 | (gcc-include | ||
| 222 | "^\\(?:In file included\\| \\) from \ | ||
| 223 | \\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\)\\)?" 1 2 nil (3 . 4)) | ||
| 224 | |||
| 225 | (gnu | 221 | (gnu |
| 226 | ;; I have no idea what this first line is supposed to match, but it | 222 | ;; I have no idea what this first line is supposed to match, but it |
| 227 | ;; makes things ambiguous with output such as "foo:344:50:blabla" since | 223 | ;; makes things ambiguous with output such as "foo:344:50:blabla" since |
| @@ -241,6 +237,12 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 241 | \[0-9]?\\(?:[^0-9\n]\\|$\\)\\|[0-9][0-9][0-9]\\)" | 237 | \[0-9]?\\(?:[^0-9\n]\\|$\\)\\|[0-9][0-9][0-9]\\)" |
| 242 | 1 (2 . 5) (4 . 6) (7 . 8)) | 238 | 1 (2 . 5) (4 . 6) (7 . 8)) |
| 243 | 239 | ||
| 240 | ;; The `gnu' style above can incorrectly match gcc's "In file | ||
| 241 | ;; included from" message, so we process that first. -- cyd | ||
| 242 | (gcc-include | ||
| 243 | "^\\(?:In file included\\| \\) from \ | ||
| 244 | \\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\)\\)?" 1 2 nil (3 . 4)) | ||
| 245 | |||
| 244 | (lcc | 246 | (lcc |
| 245 | "^\\(?:E\\|\\(W\\)\\), \\([^(\n]+\\)(\\([0-9]+\\),[ \t]*\\([0-9]+\\)" | 247 | "^\\(?:E\\|\\(W\\)\\), \\([^(\n]+\\)(\\([0-9]+\\),[ \t]*\\([0-9]+\\)" |
| 246 | 2 3 4 (1)) | 248 | 2 3 4 (1)) |