Mercurial > emacs
comparison lisp/progmodes/compile.el @ 16920:ea7763094f76
(compilation-error-regexp-alist):
In MIPS lint and Sun Ada regexps, reject newline in some
[^...] constructs. Require newline at start in MIPS lint.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 22 Jan 1997 08:02:25 +0000 |
parents | 3244576af168 |
children | c7f39edc6320 |
comparison
equal
deleted
inserted
replaced
16919:16c0c57e8ab2 | 16920:ea7763094f76 |
---|---|
160 ;; which is regexp Impressionism - it matches almost anything! | 160 ;; which is regexp Impressionism - it matches almost anything! |
161 ("([ \t]*\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\))" 1 2) | 161 ("([ \t]*\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\))" 1 2) |
162 | 162 |
163 ;; MIPS lint pass<n>; looks good for SunPro lint also | 163 ;; MIPS lint pass<n>; looks good for SunPro lint also |
164 ;; TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomon.c due to truncation | 164 ;; TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomon.c due to truncation |
165 ("[^ ]+ (\\([0-9]+\\)) in \\([^ ]+\\)" 2 1) | 165 ("\n[^\n ]+ (\\([0-9]+\\)) in \\([^ \n]+\\)" 2 1) |
166 ;; name defined but never used: LinInt in cmap_calc.c(199) | 166 ;; name defined but never used: LinInt in cmap_calc.c(199) |
167 ("in \\([^(]+\\)(\\([0-9]+\\))$" 1 2) | 167 ("in \\([^(\n]+\\)(\\([0-9]+\\))$" 1 2) |
168 | 168 |
169 ;; Ultrix 3.0 f77: | 169 ;; Ultrix 3.0 f77: |
170 ;; fort: Severe: addstf.f, line 82: Missing operator or delimiter symbol | 170 ;; fort: Severe: addstf.f, line 82: Missing operator or delimiter symbol |
171 ;; Some SGI cc version: | 171 ;; Some SGI cc version: |
172 ;; cfe: Warning 835: foo.c, line 2: something | 172 ;; cfe: Warning 835: foo.c, line 2: something |
213 | 213 |
214 ;; GNU messages with program name and optional column number. | 214 ;; GNU messages with program name and optional column number. |
215 ("\n[a-zA-Z]?:?[^0-9 \n\t:]+:[ \t]*\\([^ \n\t:]+\\):\ | 215 ("\n[a-zA-Z]?:?[^0-9 \n\t:]+:[ \t]*\\([^ \n\t:]+\\):\ |
216 \\([0-9]+\\):\\(\\([0-9]+\\)[: \t]\\)?" 1 2 4) | 216 \\([0-9]+\\):\\(\\([0-9]+\\)[: \t]\\)?" 1 2 4) |
217 | 217 |
218 ;; GNU messages with program name and optional column number | |
219 ;; and a severity letter after that. nsgmls makes them. | |
220 ("\n[^0-9 \n\t:]+:[ \t]*\\([^ \n\t:]+\\):\ | |
221 \\([0-9]+\\):\\(\\([0-9]+\\):\\)?[A-Za-z]:" 1 2 4) | |
222 | |
218 ;; Cray C compiler error messages | 223 ;; Cray C compiler error messages |
219 ("\n\\(cc\\| cft\\)-[0-9]+ c\\(c\\|f77\\): ERROR \\([^,\n]+, \\)* File = \\([^,\n]+\\), Line = \\([0-9]+\\)" 4 5) | 224 ("\n\\(cc\\| cft\\)-[0-9]+ c\\(c\\|f77\\): ERROR \\([^,\n]+, \\)* File = \\([^,\n]+\\), Line = \\([0-9]+\\)" 4 5) |
220 | 225 |
221 ;; IBM C/C++ Tools 2.01: | 226 ;; IBM C/C++ Tools 2.01: |
222 ;; foo.c(2:0) : informational EDC0804: Function foo is not referenced. | 227 ;; foo.c(2:0) : informational EDC0804: Function foo is not referenced. |
224 ;; foo.c(5:5) : error EDC0350: Syntax error. | 229 ;; foo.c(5:5) : error EDC0350: Syntax error. |
225 ("\n\\([^( \n\t]+\\)(\\([0-9]+\\):\\([0-9]+\\)) : " 1 2 3) | 230 ("\n\\([^( \n\t]+\\)(\\([0-9]+\\):\\([0-9]+\\)) : " 1 2 3) |
226 | 231 |
227 ;; Sun ada (VADS, Solaris): | 232 ;; Sun ada (VADS, Solaris): |
228 ;; /home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: "," inserted | 233 ;; /home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: "," inserted |
229 ("\n\\([^, ]+\\), line \\([0-9]+\\), char \\([0-9]+\\)[:., \(-]" 1 2 3) | 234 ("\n\\([^, \n\t]+\\), line \\([0-9]+\\), char \\([0-9]+\\)[:., \(-]" 1 2 3) |
230 ) | 235 ) |
231 "Alist that specifies how to match errors in compiler output. | 236 "Alist that specifies how to match errors in compiler output. |
232 Each elt has the form (REGEXP FILE-IDX LINE-IDX [COLUMN-IDX FILE-FORMAT...]) | 237 Each elt has the form (REGEXP FILE-IDX LINE-IDX [COLUMN-IDX FILE-FORMAT...]) |
233 If REGEXP matches, the FILE-IDX'th subexpression gives the file name, and | 238 If REGEXP matches, the FILE-IDX'th subexpression gives the file name, and |
234 the LINE-IDX'th subexpression gives the line number. If COLUMN-IDX is | 239 the LINE-IDX'th subexpression gives the line number. If COLUMN-IDX is |