changeset 6989:3723e842825c

(compilation-parse-errors): Fix references for column number, 3 elt not 2nd.
author Roland McGrath <roland@gnu.org>
date Wed, 20 Apr 1994 19:52:37 +0000
parents 674dceb3bb4f
children 9bfef236ac9a
files lisp/progmodes/compile.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Wed Apr 20 19:23:04 1994 +0000
+++ b/lisp/progmodes/compile.el	Wed Apr 20 19:52:37 1994 +0000
@@ -1100,8 +1100,8 @@
 	    (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)))