]> Repositorios git - scryer-prolog.git/commitdiff
emit correct number of spaces before trailing false
authorMark Thom <[email protected]>
Thu, 8 Apr 2021 16:45:09 +0000 (10:45 -0600)
committerMark Thom <[email protected]>
Thu, 8 Apr 2021 16:45:09 +0000 (10:45 -0600)
src/toplevel.pl

index 6d62a15580843079c61ad96ce9daf660a8ee5ea7..4cc087a79e01296cc367e2e204bc7eb124c7130d 100644 (file)
@@ -213,7 +213,11 @@ execute_query(Goal, Eqs0, AllInitVs) :-
             )
         ),
         (   (   NoError \== false, Succeed \== true ->
-                format("   false.\n", [])
+                (   bb_get('$first_answer', true) ->
+                    write('   ')
+                ;   true
+                ),
+                format("false.\n", [])
             ;   Last = true
             )
         )