Skip to content

Releases: Armael/pp_loc

2.1.0

30 May 17:04
d8162fd
Compare
Choose a tag to compare

CHANGES:

  • Add functions Position.{to_offset,to_lexing}
    these allow computing an offset/Lexing.position from a Position.t and Input.t

2.0.0

28 Apr 09:30
Compare
Choose a tag to compare

CHANGES:

Generalize the type of locations to offer more flexibility.

As before, a location corresponds to a pair of begin-end positions.
However, positions are now abstract. A position can be created as
before from a Lexing.position. Alternatively, a position can be created
from a (line,column) pair, or directly from an offset in the file,
or by shifting an existing position by a given offset.

(contributed by Simon Cruanes)

1.0.0

29 Sep 14:20
Compare
Choose a tag to compare

CHANGES:

Initial release