branch: externals/caml
commit 3190d712ebb01534b756c3a0c5a143d5a39df5b2
Author: Damien Doligez <damien.doligez-inria.fr>
Commit: Damien Doligez <damien.doligez-inria.fr>
PR#5070, continued: also parse backtrace locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12843
f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
---
caml.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/caml.el b/caml.el
index 9ec3966..a203584 100644
--- a/caml.el
+++ b/caml.el
@@ -799,7 +799,7 @@ variable caml-mode-indentation."
;; We will adapt OCaml to output error messages in a compatible format.
;; In the meantime we add the new format here in addition to the old one.
(defconst caml-error-regexp-newstyle
- "^File \"\\([^\"\n]+\\)\", line \\([0-9]+\\), char \\([0-9]+\\) to line
\\([0-9]+\\), char \\([0-9]+\\):"
+ "^[ A-\377]+ \"\\([^\"\n]+\\)\", line \\([0-9]+\\), char \\([0-9]+\\) to
line \\([0-9]+\\), char \\([0-9]+\\):"
"Regular expression matching the error messages produced by
ocamlc/ocamlopt.")
(if (boundp 'compilation-error-regexp-alist)