PR#5070, continued: also parse backtrace locations

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12843 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2012-08-08 15:25:55 +00:00
parent 3c4ae5ead5
commit fadcb07197
1 changed files with 1 additions and 1 deletions

View File

@ -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)