]> Repositorios git - scryer-prolog.git/commit
FIXED: char_type/2 for unbound first argument.
authorMarkus Triska <[email protected]>
Sun, 11 Feb 2024 21:19:19 +0000 (22:19 +0100)
committerMarkus Triska <[email protected]>
Sun, 11 Feb 2024 21:19:19 +0000 (22:19 +0100)
commit8f2e9c6b94b0e40cd995e20d174992ee361ed632
tree3cc0d4ab43fa03a9954bf443ddef24a66027b222
parent539a1aee2c61ffb4e6357d98d2550ecbef266db8
FIXED: char_type/2 for unbound first argument.

Surrogate pairs form a gap in valid character codes, see:

    https://github.com/mthom/scryer-prolog/issues/2326#issuecomment-1937864665

Many thanks to @Skgland for the pointer, and to @librarianmage for the
question that spawned this!

This addresses #2326.
src/lib/charsio.pl