Skip to content

Sedlex 3.2

Latest
Compare
Choose a tag to compare
@toots toots released this 29 Jun 19:42
· 2 commits to master since this release

3.2 (2023-06-28):

  • Restore compatibility with OCaml 4.08
  • Use Sedlexing.{Utf8,Utf16}.from_gen to initialize UTF8 (resp. UTF16) lexing buffers from
    string.
  • Delay raising Malformed until actually reading the malformed part of the imput. (#140)
  • Count lines in all cases (#130). Previously, certain functions for initiating the
    lexical buffer would disable lines counting.
  • Check and fix invariants from Cset. The codebase was not respecting
    invariants documented in the Cset module which could break code
    relying on it. The code generated by sedlex.ppx could be affected.
  • Do not rely on comments from unicode UCD files
  • Add API to track position in bytes. Should be opt-in and backward compatible. (#146)