Index: compile.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/progmodes/compile.el,v retrieving revision 1.257 diff -u -b -r1.257 compile.el --- compile.el 14 Jun 2002 13:58:28 -0000 1.257 +++ compile.el 9 Jul 2002 08:17:39 -0000 @@ -1,6 +1,6 @@ ;;; compile.el --- run compiler as inferior of Emacs, parse error messages -;; Copyright (C) 1985, 86, 87, 93, 94, 95, 96, 97, 98, 1999, 2001 +;; Copyright (C) 1985, 86, 87, 93, 94, 95, 96, 97, 98, 1999, 2001, 2002 ;; Free Software Foundation, Inc. ;; Author: Roland McGrath @@ -369,6 +369,12 @@ ("\\(Error\\|Warning\\) \\(\\([FEW][0-9]+\\) \\)?\ \\([a-zA-Z]?:?[^:( \t\n]+\\)\ \\([0-9]+\\)\\([) \t]\\|:[^0-9\n]\\)" 4 5) + + ;; Valgrind (memory debugger for x86 GNU/Linux): + ;; ==1332== at 0x8008621: main (vtest.c:180) + ;; Currently this regexp only matches the first error. + ;; Thanks to Hans Petter Jansson for his regexp wisdom. + ("^==[0-9]+==[^(]+\(([^:]+):([0-9]+)" 1 2) ;; 4.3BSD lint pass 2 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8)