summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-04-20 19:52:37 +0000
committerRoland McGrath <roland@gnu.org>1994-04-20 19:52:37 +0000
commit8425a49a3c9935fb9b0350430c712808aaa768eb (patch)
treedb1a2b4150594082eeffa7c86687d628b1890ebd
parentdd6e8a8dd0748654c28875dfbbeb11e087fc90ae (diff)
downloademacs-8425a49a3c9935fb9b0350430c712808aaa768eb.tar.gz
(compilation-parse-errors): Fix references for column number, 3 elt not
2nd.
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 813412942d1..cc7e0b6fb28 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1100,8 +1100,8 @@ See variable `compilation-parse-errors-function' for the interface it uses."
(cons (list subexpr
(+ subexpr (nth 1 (car alist)))
(+ subexpr (nth 2 (car alist)))
- (and (nth 2 (car alist))
- (+ subexpr (nth 2 (car alist)))))
+ (and (nth 3 (car alist))
+ (+ subexpr (nth 3 (car alist)))))
error-regexp-groups))
(setq subexpr (+ subexpr 1 (count-regexp-groupings (car (car alist)))))
(setq alist (cdr alist)))