Emit warnings as Prolog comments

This commit is contained in:
bakaq
2023-12-30 17:39:20 -03:00
parent 781f4afe25
commit d9d90d1ae8
6 changed files with 11 additions and 11 deletions

View File

@@ -134,7 +134,7 @@ run_goals([g(Gs0)|Goals]) :- !,
write_term(Exception, [double_quotes(DQ)]), nl % halt?
)
) -> true
; write('Warning: initialization failed for: '),
; write('% Warning: initialization failed for: '),
write_term(Goal, [variable_names(VNs),double_quotes(DQ)]), nl
),
run_goals(Goals).