Skip to content

Commit

Permalink
Fixed field access for 4.00
Browse files Browse the repository at this point in the history
Dammit, disambiguation!
  • Loading branch information
AltGr committed Nov 25, 2014
1 parent 6703823 commit fea0f50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/indexBuild.ml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ let associate_comment ?(after_only=false) comments loc nextloc =
and lend = loc.Location.loc_end.Lexing.pos_lnum in
let isnext c =
nextloc <> Location.none &&
nextloc.Location.loc_start.pos_cnum < c.Location.loc_end.Lexing.pos_cnum
nextloc.Location.loc_start.Lexing.pos_cnum <
c.Location.loc_end.Lexing.pos_cnum
in
let rec aux = function
| [] -> None, []
Expand Down

0 comments on commit fea0f50

Please sign in to comment.