aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
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/progmodes
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/progmodes')
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 3 insertions, 1 deletions
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