mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-29 19:48:19 +00:00
* lisp/progmodes/compile.el: Adjust regexp for OCaml warnings.
(compilation-error-regexp-alist-alist): OCaml warnings (can?) have a number. Fixes: debbugs:9749
This commit is contained in:
parent
0c32508203
commit
d9ac1a1e5d
@ -1,5 +1,8 @@
|
||||
2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* 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).
|
||||
|
||||
|
@ -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
|
||||
|
@ -71,7 +71,7 @@
|
||||
;; caml
|
||||
("File \"foobar.ml\", lines 5-8, characters 20-155: blah blah"
|
||||
1 (19 . 155) (5 . 8) "foobar.ml")
|
||||
("File \"F:\\ocaml\\sorting.ml\", line 65, characters 2-145:"
|
||||
("File \"F:\\ocaml\\sorting.ml\", line 65, characters 2-145:\nWarning 26: unused variable equ."
|
||||
1 (1 . 145) 65 "F:\\ocaml\\sorting.ml")
|
||||
("File \"/usr/share/gdesklets/display/TargetGauge.py\", line 41, in add_children"
|
||||
1 nil 41 "/usr/share/gdesklets/display/TargetGauge.py")
|
||||
|
Loading…
Reference in New Issue
Block a user