Skip to content

fix usage of sedlex and upgrade to sedlex 3.5#555

Merged
davesnx merged 1 commit intodavesnx:mainfrom
hhugo:fix-sedlex
Aug 12, 2025
Merged

fix usage of sedlex and upgrade to sedlex 3.5#555
davesnx merged 1 commit intodavesnx:mainfrom
hhugo:fix-sedlex

Conversation

@hhugo
Copy link
Contributor

@hhugo hhugo commented Jun 2, 2025

The upcoming release of sedlex (ocaml/opam-repository#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 ocaml/opam-repository#27959

See the sedlex PR adding support for utf8 litterals and adding more checks ocaml-community/sedlex#127

@vercel
Copy link

vercel bot commented Jun 2, 2025

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

@davesnx
Copy link
Owner

davesnx commented Jun 2, 2025

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

@davesnx davesnx merged commit 344243c into davesnx:main Aug 12, 2025
5 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants