comparison lisp/progmodes/compile.el @ 8288:8695e414a2b1

(compilation-error-regexp-alist): Allow `(' after linenum in "FILE", line LINENUM. Add backslash so C-M-a works.
author Richard M. Stallman <rms@gnu.org>
date Tue, 19 Jul 1994 20:03:12 +0000
parents bef94cf432af
children 95c011057e51
comparison
equal deleted inserted replaced
8287:97c2535b7f37 8288:8695e414a2b1
114 ;; 114 ;;
115 ;; We'll insist that the number be followed by a colon or closing 115 ;; We'll insist that the number be followed by a colon or closing
116 ;; paren, because otherwise this matches just about anything 116 ;; paren, because otherwise this matches just about anything
117 ;; containing a number with spaces around it. 117 ;; containing a number with spaces around it.
118 ("\n\\(Error\\|Warning\\)?[ \t]*\\([^:( \t\n]+\\)\ 118 ("\n\\(Error\\|Warning\\)?[ \t]*\\([^:( \t\n]+\\)\
119 [:(]?[ \t]*\\([0-9]+\\)[:) \t]" 2 3) 119 \[:(]?[ \t]*\\([0-9]+\\)[:) \t]" 2 3)
120 120
121 ;; 4.3BSD lint pass 2 121 ;; 4.3BSD lint pass 2
122 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) 122 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8)
123 ("[ \t:]\\([^:( \t\n]+\\)[:(](+[ \t]*\\([0-9]+\\))[:) \t]*$" 1 2) 123 ("[ \t:]\\([^:( \t\n]+\\)[:(](+[ \t]*\\([0-9]+\\))[:) \t]*$" 1 2)
124 124
147 ;; "vvouch.c", line 19.5: 1506-046 (S) Syntax error. 147 ;; "vvouch.c", line 19.5: 1506-046 (S) Syntax error.
148 ;; Unknown compiler: 148 ;; Unknown compiler:
149 ;; File "foobar.ml", lines 5-8, characters 20-155: blah blah 149 ;; File "foobar.ml", lines 5-8, characters 20-155: blah blah
150 ;; Microtec mcc68k: 150 ;; Microtec mcc68k:
151 ;; "foo.c", line 32 pos 1; (E) syntax error; unexpected symbol: "lossage" 151 ;; "foo.c", line 32 pos 1; (E) syntax error; unexpected symbol: "lossage"
152 ("\"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[:., -]" 1 2) 152 ;; GNAT (as of July 94):
153 ;; "foo.adb", line 2(11): warning: file name does not match ...
154 ("\"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[:., (-]" 1 2)
153 155
154 ;; MIPS RISC CC - the one distributed with Ultrix: 156 ;; MIPS RISC CC - the one distributed with Ultrix:
155 ;; ccom: Error: foo.c, line 2: syntax error 157 ;; ccom: Error: foo.c, line 2: syntax error
156 ;; DEC AXP OSF/1 cc 158 ;; DEC AXP OSF/1 cc
157 ;; /usr/lib/cmplrs/cc/cfe: Error: foo.c: 1: blah blah 159 ;; /usr/lib/cmplrs/cc/cfe: Error: foo.c: 1: blah blah