]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-parse-errors): Fix references for column number, 3 elt not
authorRoland McGrath <roland@gnu.org>
Wed, 20 Apr 1994 19:52:37 +0000 (19:52 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 20 Apr 1994 19:52:37 +0000 (19:52 +0000)
2nd.

lisp/progmodes/compile.el

index 813412942d1b71cbda34f1db66c36b67a4307b15..cc7e0b6fb28c2852b35a5040ea68c0fbd7727d95 100644 (file)
@@ -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)))