Commit 8425a49a authored by Roland McGrath's avatar Roland McGrath
Browse files

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

2nd.
parent dd6e8a8d
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment