PR#5070, continued: also parse backtrace locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12843 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
3c4ae5ead5
commit
fadcb07197
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue