From 539a1aee2c61ffb4e6357d98d2550ecbef266db8 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 7 Feb 2024 21:46:32 -0700 Subject: [PATCH] fix tests broken by singleton --- src/lib/charsio.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/charsio.pl b/src/lib/charsio.pl index 7a4186a5..afe745a2 100644 --- a/src/lib/charsio.pl +++ b/src/lib/charsio.pl @@ -153,7 +153,7 @@ char_type(Char, Type) :- max_char_code(Max) :- catch((length(_, Code), - catch(char_code(Char, Code), + catch(char_code(_Char, Code), error(representation_error(_),_), throw(max_char_code(Code))), false), -- 2.54.0