You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the location extends several lines, the format used by Loc.to_string is not compatible with the way Emacs parses locations, it should be of the form
File "xxx", line 12-13, characters 34-23:
The following code maybe shows better what I mean
let (fname, line0, bol0, off0, line1, bol1, off1, _) = Loc.to_tuple loc in
let line =
if line0 = line1 then sprintf "%i" line0
else sprintf "%i-%i" line0 line1 in
sprintf "File \"%s\", line %s, characters %i-%i"
fname line (off0 - bol0) (off1 - bol1)
The text was updated successfully, but these errors were encountered:
Transferred from http://caml.inria.fr/mantis/view.php?id=4598
When the location extends several lines, the format used by Loc.to_string is not compatible with the way Emacs parses locations, it should be of the form
The following code maybe shows better what I mean
The text was updated successfully, but these errors were encountered: