summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-05-10 01:00:29 +0000
committerRichard M. Stallman <rms@gnu.org>2002-05-10 01:00:29 +0000
commit154b2b1008fac7c78938b6d32008e1c97ed0d094 (patch)
tree22e47368ce21f7abf6c1ef07c67b9b97af5569c6 /lisp/progmodes/compile.el
parent1b93984e8fd5085addb55758e54665034fe702cf (diff)
downloademacs-154b2b1008fac7c78938b6d32008e1c97ed0d094.tar.gz
(compilation-error-regexp-alist):
New element to recognize Python error messages.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index c1f8b9b345a..689c095f521 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -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)