# HG changeset patch # User Roland McGrath # Date 820962580 0 # Node ID 2df0227ff61308279f29f85b0b57f7c91f7c7155 # Parent 000d4719b87466bc9eb58f53a33c7f91673fe20e (compilation-error-regexp-alist): Broaden GNAT regexp to match column numbers. diff -r 000d4719b874 -r 2df0227ff613 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Sat Jan 06 21:03:47 1996 +0000 +++ b/lisp/progmodes/compile.el Sat Jan 06 21:09:40 1996 +0000 @@ -159,7 +159,10 @@ ;; "foo.c", line 32 pos 1; (E) syntax error; unexpected symbol: "lossage" ;; GNAT (as of July 94): ;; "foo.adb", line 2(11): warning: file name does not match ... - ("\"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[:., (-]" 1 2) + ;; IBM AIX xlc compiler: + ;; "src/swapping.c", line 30.34: 1506-342 (W) "/*" detected in comment. + ("\"\\([^,\" \n\t]+\\)\", lines? \ +\\([0-9]+\\)\\([\(.]\\([0-9]+\\)\)?\\)?[:., (-]" 1 2 4) ;; MIPS RISC CC - the one distributed with Ultrix: ;; ccom: Error: foo.c, line 2: syntax error @@ -172,9 +175,6 @@ ("in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) ;; IBM AIX lint is too painful to do right this way. File name ;; prefixes entire sections rather than being on each line. - ;; IBM AIX xlc compiler: - ;; "src/swapping.c", line 30.34: 1506-342 (W) "/*" detected in comment. - ("\"\\([^\"]+\\)\", lines? \\([0-9]+\\)\\(\\.\\([0-9]+\\)\\)" 1 2 4) ;; Lucid Compiler, lcc 3.x ;; E, file.cc(35,52) Illegal operation on pointers