let of_ocaml_location {
Camlp4_import.Location.loc_start = a;
loc_end = b;
loc_ghost = g
} =
let res =
{
file_name =
better_file_name a.Lexing.pos_fname b.Lexing.pos_fname;
start = pos_of_lexing_position a;
stop = pos_of_lexing_position b;
ghost = g;
}
in res