Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Oct 26, 2023
1 parent 1ea1e76 commit b3dc4dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analysis/occurrences.ml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ let locs_of ~config ~scope ~env ~local_defs ~pos ~node:_ path =
let fname = loc.Location.loc_start.Lexing.pos_fname in
if String.equal fname current_buffer_path then
(* ignore locs coming from the external index for the buffer *)
(* maybe filter before *)
None
else if Filename.is_relative fname then begin
match Locate.find_source ~config loc fname with
Expand Down

0 comments on commit b3dc4dd

Please sign in to comment.