styled-ppx icon indicating copy to clipboard operation
styled-ppx copied to clipboard

fix usage of sedlex and upgrade to sedlex 3.5

Open hhugo opened this issue 7 months ago • 2 comments

The upcoming release of sedlex (https://github.com/ocaml/opam-repository/pull/27959) revealed a bug in styled-ppx. Utf8 literals in sedlex patterns was previously not working. The non_ascii pattern also triggered a compile time error with sedlex 3.5. Its definition was suspicious and I attempted to fix it according to the spec.

See the opam release https://github.com/ocaml/opam-repository/pull/27959

See the sedlex PR adding support for utf8 litterals and adding more checks https://github.com/ocaml-community/sedlex/pull/127

hhugo avatar Jun 02 '25 08:06 hhugo

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
styled-ppx ⬜️ Ignored (Inspect) Visit Preview Jun 2, 2025 8:22am

vercel[bot] avatar Jun 02 '25 08:06 vercel[bot]

Thanks hugo. Will merge and add a few unit tests.

davesnx avatar Jun 02 '25 09:06 davesnx