1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(compilation-error-regexp-alist):

New element to recognize Python error messages.
This commit is contained in:
Richard M. Stallman 2002-05-10 01:00:29 +00:00
parent 1b93984e8f
commit 154b2b1008
2 changed files with 15 additions and 1 deletions

View file

@ -363,6 +363,10 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2)
(".*\"\\([^,\" \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)