diff --git a/simple-utils/region.ml b/simple-utils/region.ml index 68712727f..a874fd986 100644 --- a/simple-utils/region.ml +++ b/simple-utils/region.ml @@ -74,7 +74,7 @@ let make ~(start: Pos.t) ~(stop: Pos.t) = (* Conversions to strings *) method to_string ?(file=true) ?(offsets=true) mode = - let horizontal = if offsets then "character" else "column" + let horizontal = if offsets then "character" else "column" and start_offset = if offsets then start#offset mode else start#column mode and stop_offset =