aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2011-01-08 14:31:26 +0100
committerAndreas Schwab2011-01-08 14:31:26 +0100
commit7c8379331a009a42b0758a0dd7ca805513ff0316 (patch)
treead96931a1d4f24e542ec832e8b1b79462c27018b
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.
-rw-r--r--etc/ChangeLog6
-rw-r--r--etc/compilation.txt2
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/compile.el4
4 files changed, 15 insertions, 3 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 22c674275c8..9d8a3b8aafd 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2
3 * compilation.txt: Add column to gcc-include sample.
4
12011-01-08 Glenn Morris <rgm@gnu.org> 52011-01-08 Glenn Morris <rgm@gnu.org>
2 6
3 * PROBLEMS: -batch implies -q. 7 * PROBLEMS: -batch implies -q.
@@ -5158,7 +5162,7 @@
5158;; End: 5162;; End:
5159 5163
5160 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 5164 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002,
5161 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 5165 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
5162 Free Software Foundation, Inc. 5166 Free Software Foundation, Inc.
5163 5167
5164 This file is part of GNU Emacs. 5168 This file is part of GNU Emacs.
diff --git a/etc/compilation.txt b/etc/compilation.txt
index 9cf39c90f9f..9ee2e16366b 100644
--- a/etc/compilation.txt
+++ b/etc/compilation.txt
@@ -233,7 +233,7 @@ symbol: gcc-include
233The last file, i.e. the one you are compiling, is the interesting one. 233The last file, i.e. the one you are compiling, is the interesting one.
234 234
235In file included from /usr/include/c++/3.3/backward/warn.h:4, 235In file included from /usr/include/c++/3.3/backward/warn.h:4,
236 from /usr/include/c++/3.3/backward/iostream.h:31, 236 from /usr/include/c++/3.3/backward/iostream.h:31:0,
237 from test_clt.cc:1: 237 from test_clt.cc:1:
238 238
239 239
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