1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

(compilation-parse-errors): Fix references for column number, 3 elt not

2nd.
This commit is contained in:
Roland McGrath 1994-04-20 19:52:37 +00:00
parent dd6e8a8dd0
commit 8425a49a3c

View 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)))