comparison lisp/progmodes/compile.el @ 111570:ffe2002d45c4

merge trunk
author Kenichi Handa <handa@m17n.org>
date Wed, 08 Sep 2010 12:55:57 +0900
parents 5328ea5b6e41
children 5086e18330fb
comparison
equal deleted inserted replaced
111569:0187fc875872 111570:ffe2002d45c4
225 ;; fixme: should be `mips' 225 ;; fixme: should be `mips'
226 (irix 226 (irix
227 "^[-[:alnum:]_/ ]+: \\(?:\\(?:[sS]evere\\|[eE]rror\\|[wW]arnin\\(g\\)\\|[iI]nf\\(o\\)\\)[0-9 ]*: \\)?\ 227 "^[-[:alnum:]_/ ]+: \\(?:\\(?:[sS]evere\\|[eE]rror\\|[wW]arnin\\(g\\)\\|[iI]nf\\(o\\)\\)[0-9 ]*: \\)?\
228 \\([^,\" \n\t]+\\)\\(?:, line\\|:\\) \\([0-9]+\\):" 3 4 nil (1 . 2)) 228 \\([^,\" \n\t]+\\)\\(?:, line\\|:\\) \\([0-9]+\\):" 3 4 nil (1 . 2))
229 229
230 (ruby
231 "^[\t ]*\\(?:from \\)?\
232 \\([^\(\n][^[:space:]\n]*\\):\\([1-9][0-9]*\\)\\(:in `.*'\\)?.*$" 1 2)
233
234 (java 230 (java
235 "^\\(?:[ \t]+at \\|==[0-9]+== +\\(?:at\\|b\\(y\\)\\)\\).+(\\([^()\n]+\\):\\([0-9]+\\))$" 2 3 nil (1)) 231 "^\\(?:[ \t]+at \\|==[0-9]+== +\\(?:at\\|b\\(y\\)\\)\\).+(\\([^()\n]+\\):\\([0-9]+\\))$" 2 3 nil (1))
236 232
237 (jikes-file 233 (jikes-file
238 "^\\(?:Found\\|Issued\\) .* compiling \"\\(.+\\)\":$" 1 nil nil 0) 234 "^\\(?:Found\\|Issued\\) .* compiling \"\\(.+\\)\":$" 1 nil nil 0)
239 (jikes-line 235 (jikes-line
240 "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" 236 "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)"
241 nil 1 nil 2 0 237 nil 1 nil 2 0
242 (2 (compilation-face '(3)))) 238 (2 (compilation-face '(3))))
243 239
240 (gcc-include
241 "^\\(?:In file included \\| \\|\t\\)from \
242 \\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\|$\\)\\)?" 1 2 nil (3 . 4))
243
244 (gnu 244 (gnu
245 ;; The first line matches the program name for 245 ;; The first line matches the program name for
246 246
247 ;; PROGRAM:SOURCE-FILE-NAME:LINENO: MESSAGE 247 ;; PROGRAM:SOURCE-FILE-NAME:LINENO: MESSAGE
248 248
262 262
263 ;; The core of the regexp is the one with *?. It says that a file name 263 ;; The core of the regexp is the one with *?. It says that a file name
264 ;; can be composed of any non-newline char, but it also rules out some 264 ;; can be composed of any non-newline char, but it also rules out some
265 ;; valid but unlikely cases, such as a trailing space or a space 265 ;; valid but unlikely cases, such as a trailing space or a space
266 ;; followed by a -. 266 ;; followed by a -.
267 "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\ 267 "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\|[ \t]+\\(?:in \\|from \\)\\)?\
268 \\([0-9]*[^0-9\n]\\(?:[^\n ]\\| [^-/\n]\\)*?\\): ?\ 268 \\([0-9]*[^0-9\n]\\(?:[^\n ]\\| [^-/\n]\\)*?\\): ?\
269 \\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\ 269 \\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\
270 \\(?:-\\([0-9]+\\)?\\(?:\\.\\([0-9]+\\)\\)?\\)?:\ 270 \\(?:-\\([0-9]+\\)?\\(?:\\.\\([0-9]+\\)\\)?\\)?:\
271 \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\ 271 \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
272 *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|instantiated from\\|[Nn]ote\\)\\|\ 272 *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|instantiated from\\|[Nn]ote\\)\\|\
273 \[0-9]?\\(?:[^0-9\n]\\|$\\)\\|[0-9][0-9][0-9]\\)" 273 \[0-9]?\\(?:[^0-9\n]\\|$\\)\\|[0-9][0-9][0-9]\\)"
274 1 (2 . 5) (4 . 6) (7 . 8)) 274 1 (2 . 5) (4 . 6) (7 . 8))
275
276 ;; The `gnu' style above can incorrectly match gcc's "In file
277 ;; included from" message, so we process that first. -- cyd
278 (gcc-include
279 "^\\(?:In file included\\| \\) from \
280 \\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\)\\)?" 1 2 nil (3 . 4))
281 275
282 (lcc 276 (lcc
283 "^\\(?:E\\|\\(W\\)\\), \\([^(\n]+\\)(\\([0-9]+\\),[ \t]*\\([0-9]+\\)" 277 "^\\(?:E\\|\\(W\\)\\), \\([^(\n]+\\)(\\([0-9]+\\),[ \t]*\\([0-9]+\\)"
284 2 3 4 (1)) 278 2 3 4 (1))
285 279