branch: elpa/sweeprolog
commit 1440ac22e93936a246e519135f01aa89128126ab
Author: Eshel Yaron <[email protected]>
Commit: Eshel Yaron <[email protected]>
; Only load 'library(macros)' if available
---
sweep.pl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sweep.pl b/sweep.pl
index 48c306b597..515cc59a08 100644
--- a/sweep.pl
+++ b/sweep.pl
@@ -111,7 +111,10 @@
:- use_module(library(prolog_pack)).
:- use_module(library(prolog_deps)).
:- use_module(library(dcg/high_order)).
+
+:- if(exists_source(library(macros))).
:- use_module(library(macros)).
+:- endif.
:- if(exists_source(library(help))).
:- use_module(library(help)).