summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-06 21:09:40 +0000
committerRoland McGrath <roland@gnu.org>1996-01-06 21:09:40 +0000
commit38d78042b0989dfd99cb54cbfa908a30cd34b584 (patch)
tree41339fb1bef6968400f6088e505f42a4d1e783fa /lisp/progmodes
parentaca2a6b07c38a8aaa8995ebc58cb49c1af592532 (diff)
downloademacs-38d78042b0989dfd99cb54cbfa908a30cd34b584.tar.gz
(compilation-error-regexp-alist): Broaden GNAT regexp to match column numbers.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index dd632e8971e..28f2f6da714 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -159,7 +159,10 @@ of[ \t]+\"?\\([^\":\n]+\\)\"?:" 3 2)
;; "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 @@ of[ \t]+\"?\\([^\":\n]+\\)\"?:" 3 2)
("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