aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorAndreas Schwab2011-01-08 14:31:26 +0100
committerAndreas Schwab2011-01-08 14:31:26 +0100
commit7c8379331a009a42b0758a0dd7ca805513ff0316 (patch)
treead96931a1d4f24e542ec832e8b1b79462c27018b /lisp
parente7a4241753be8d11d72945af0c34b45f6645b60e (diff)
downloademacs-7c8379331a009a42b0758a0dd7ca805513ff0316.tar.gz
emacs-7c8379331a009a42b0758a0dd7ca805513ff0316.zip
Fixes: debbugs:7806
* etc/compilation.txt: Add column to gcc-include sample. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist) [gcc-include]: Tighten file name match, add match for column number.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/compile.el4
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d57a8a3532a..fce4875e965 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2
3 * progmodes/compile.el (compilation-error-regexp-alist-alist)
4 [gcc-include]: Tighten file name match, add match for column
5 number. (Bug#7806)
6
12011-01-08 Glenn Morris <rgm@gnu.org> 72011-01-08 Glenn Morris <rgm@gnu.org>
2 8
3 * makefile.w32-in (EMACSOPT): Add --no-site-lisp. 9 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index da9b213ad8f..eabfe22b5ee 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -239,7 +239,9 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
239 239
240 (gcc-include 240 (gcc-include
241 "^\\(?:In file included \\| \\|\t\\)from \ 241 "^\\(?:In file included \\| \\|\t\\)from \
242\\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\|$\\)\\)?" 1 2 nil (3 . 4)) 242\\([0-9]*[^0-9\n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\
243\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?\\(?:\\(:\\)\\|\\(,\\|$\\)\\)?"
244 1 2 3 (4 . 5))
243 245
244 (gnu 246 (gnu
245 ;; The first line matches the program name for 247 ;; The first line matches the program name for