1. HongboZhang
  2. ocaml

Commits

doligez  committed 0c32432

PR#5070, continued: also parse backtrace locations

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12843f963ae5c-01c2-4b8c-9fe0-0dff7051ff02

  • Participants
  • Parent commits 7f0ecca
  • Branches master

Comments (0)

Files changed (1)

File emacs/caml.el

View file
  • Ignore whitespace
 ;; 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)