]> Repositorios git - scryer-prolog.git/commitdiff
fix tests broken by singleton
authorMark <[email protected]>
Thu, 8 Feb 2024 04:46:32 +0000 (21:46 -0700)
committerMark <[email protected]>
Thu, 8 Feb 2024 04:46:32 +0000 (21:46 -0700)
src/lib/charsio.pl

index 7a4186a50513d5b92f1b20b21e226abd0b9144cd..afe745a2ebf7905534d4010c24b6b90b6546ec64 100644 (file)
@@ -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),