]> Repositorios git - scryer-prolog.git/commitdiff
FIXED: invoke correct predicate
authorMarkus Triska <[email protected]>
Fri, 25 Apr 2025 16:39:21 +0000 (18:39 +0200)
committerMarkus Triska <[email protected]>
Fri, 25 Apr 2025 16:39:21 +0000 (18:39 +0200)
Noted by Oleg Finkelstein. Many thanks!

src/lib/builtins.pl

index 8402a89b553642c78d6aba9c731a7f13d22c4d2e..8dc5ea4ff4181fdf68aede226c6d8c96a947de79 100644 (file)
@@ -1736,7 +1736,7 @@ chars_or_vars_([C|Cs], PI) :-
     (  nonvar(C) ->
        (  atom(C),
           atom_length(C, 1) ->
-          chars_or_vars(Cs, PI)
+          chars_or_vars_(Cs, PI)
        ;  throw(error(type_error(character, C), PI))
        )
     ;  chars_or_vars_(Cs, PI)