aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2011-11-09 10:39:32 -0500
committerStefan Monnier <[email protected]>2011-11-09 10:39:32 -0500
commitd9ac1a1e5de383d2929d1590176e5b82901b89c9 (patch)
treef352c656aecf457b5019442a90e5d1887f46567a /lisp
parent0c325082036f353caf94bcd5ef02baee9c81bdf7 (diff)
* lisp/progmodes/compile.el: Adjust regexp for OCaml warnings.
(compilation-error-regexp-alist-alist): OCaml warnings (can?) have a number. Fixes: debbugs:9749
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/compile.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8f00ef7077..d7501d14f8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-11-09 Stefan Monnier <[email protected]>
+ * progmodes/compile.el (compilation-error-regexp-alist-alist):
+ Adjust regexp for OCaml warnings.
+
* electric.el (electric-pair-post-self-insert-function): Let user
turn it off buffer-locally (bug#9932).
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 491d5c7567..3dba1af515 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -157,7 +157,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
(python-tracebacks-and-caml
"^[ \t]*File \\(\"?\\)\\([^,\" \n\t<>]+\\)\\1, lines? \\([0-9]+\\)-?\\([0-9]+\\)?\\(?:$\\|,\
-\\(?: characters? \\([0-9]+\\)-?\\([0-9]+\\)?:\\)?\\([ \n]Warning:\\)?\\)"
+\\(?: characters? \\([0-9]+\\)-?\\([0-9]+\\)?:\\)?\\([ \n]Warning\\(?: [0-9]+\\)?:\\)?\\)"
2 (3 . 4) (5 . 6) (7))
(comma