aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/progmodes/compile.el16
2 files changed, 12 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c463614a34b..dc024b9d313 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12010-09-04 Chong Yidong <cyd@stupidchicken.com>
2
3 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5 Recognize leading tab in gcc-include regexp. Ignore names with
6 leading "from" or "in" in gnu regexp (Bug#6937).
7
12010-09-04 Stefan Monnier <monnier@iro.umontreal.ca> 82010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2 9
3 Avoid global recursive calls to kill-buffer-hooks, and fit into 80 cols. 10 Avoid global recursive calls to kill-buffer-hooks, and fit into 80 cols.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index a909006e0c0..598733cb5d7 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -227,10 +227,6 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
227 "^[-[:alnum:]_/ ]+: \\(?:\\(?:[sS]evere\\|[eE]rror\\|[wW]arnin\\(g\\)\\|[iI]nf\\(o\\)\\)[0-9 ]*: \\)?\ 227 "^[-[:alnum:]_/ ]+: \\(?:\\(?:[sS]evere\\|[eE]rror\\|[wW]arnin\\(g\\)\\|[iI]nf\\(o\\)\\)[0-9 ]*: \\)?\
228\\([^,\" \n\t]+\\)\\(?:, line\\|:\\) \\([0-9]+\\):" 3 4 nil (1 . 2)) 228\\([^,\" \n\t]+\\)\\(?:, line\\|:\\) \\([0-9]+\\):" 3 4 nil (1 . 2))
229 229
230 (ruby
231 "^[\t ]*\\(?:from \\)?\
232\\([^\(\n][^[:space:]\n]*\\):\\([1-9][0-9]*\\)\\(:in `.*'\\)?.*$" 1 2)
233
234 (java 230 (java
235 "^\\(?:[ \t]+at \\|==[0-9]+== +\\(?:at\\|b\\(y\\)\\)\\).+(\\([^()\n]+\\):\\([0-9]+\\))$" 2 3 nil (1)) 231 "^\\(?:[ \t]+at \\|==[0-9]+== +\\(?:at\\|b\\(y\\)\\)\\).+(\\([^()\n]+\\):\\([0-9]+\\))$" 2 3 nil (1))
236 232
@@ -241,6 +237,10 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
241 nil 1 nil 2 0 237 nil 1 nil 2 0
242 (2 (compilation-face '(3)))) 238 (2 (compilation-face '(3))))
243 239
240 (gcc-include
241 "^\\(?:In file included \\| \\|\t\\)from \
242\\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\|$\\)\\)?" 1 2 nil (3 . 4))
243
244 (gnu 244 (gnu
245 ;; The first line matches the program name for 245 ;; The first line matches the program name for
246 246
@@ -264,7 +264,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
264 ;; can be composed of any non-newline char, but it also rules out some 264 ;; can be composed of any non-newline char, but it also rules out some
265 ;; valid but unlikely cases, such as a trailing space or a space 265 ;; valid but unlikely cases, such as a trailing space or a space
266 ;; followed by a -. 266 ;; followed by a -.
267 "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\ 267 "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\|[ \t]+\\(?:in \\|from \\)\\)?\
268\\([0-9]*[^0-9\n]\\(?:[^\n ]\\| [^-/\n]\\)*?\\): ?\ 268\\([0-9]*[^0-9\n]\\(?:[^\n ]\\| [^-/\n]\\)*?\\): ?\
269\\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\ 269\\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\
270\\(?:-\\([0-9]+\\)?\\(?:\\.\\([0-9]+\\)\\)?\\)?:\ 270\\(?:-\\([0-9]+\\)?\\(?:\\.\\([0-9]+\\)\\)?\\)?:\
@@ -273,12 +273,6 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
273\[0-9]?\\(?:[^0-9\n]\\|$\\)\\|[0-9][0-9][0-9]\\)" 273\[0-9]?\\(?:[^0-9\n]\\|$\\)\\|[0-9][0-9][0-9]\\)"
274 1 (2 . 5) (4 . 6) (7 . 8)) 274 1 (2 . 5) (4 . 6) (7 . 8))
275 275
276 ;; The `gnu' style above can incorrectly match gcc's "In file
277 ;; included from" message, so we process that first. -- cyd
278 (gcc-include
279 "^\\(?:In file included\\| \\) from \
280\\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\)\\)?" 1 2 nil (3 . 4))
281
282 (lcc 276 (lcc
283 "^\\(?:E\\|\\(W\\)\\), \\([^(\n]+\\)(\\([0-9]+\\),[ \t]*\\([0-9]+\\)" 277 "^\\(?:E\\|\\(W\\)\\), \\([^(\n]+\\)(\\([0-9]+\\),[ \t]*\\([0-9]+\\)"
284 2 3 4 (1)) 278 2 3 4 (1))