Mercurial > emacs
changeset 45215:7c87a236ef78
(compilation-error-regexp-alist):
New element to recognize Python error messages.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 10 May 2002 01:00:07 +0000 |
parents | 793403e94381 |
children | fe53581ba559 |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Fri May 10 00:58:27 2002 +0000 +++ b/lisp/progmodes/compile.el Fri May 10 01:00:07 2002 +0000 @@ -363,6 +363,10 @@ (".*\"\\([^,\" \n\t]+\\)\", lines? \ \\([0-9]+\\)\\([\(.]\\([0-9]+\\)\)?\\)?[:., (-]" 1 2 4) + ;; Python: + ;; File "foobar.py", line 5, blah blah + ("^File \"\\([^,\" \n\t]+\\)\", line \\([0-9]+\\)," 1 2) + ;; Caml compiler: ;; File "foobar.ml", lines 5-8, characters 20-155: blah blah ("^File \"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[-0-9]*, characters? \\([0-9]+\\)" 1 2 3)