Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
This commit is contained in:
commit
013b21e527
@ -660,7 +660,7 @@ from_pointer(CELL *ptr0, struct rewind_term *rwt, struct write_globs *wglb)
|
|||||||
} else {
|
} else {
|
||||||
rwt->u.d.old = t;
|
rwt->u.d.old = t;
|
||||||
rwt->u.d.ptr = ptr0;
|
rwt->u.d.ptr = ptr0;
|
||||||
if (!IsAtomicTerm(t) && !IsVarTerm(t)) {
|
if ( !IsVarTerm(t) && !IsAtomicTerm(t)) {
|
||||||
struct rewind_term *x = rwt->parent;
|
struct rewind_term *x = rwt->parent;
|
||||||
|
|
||||||
while (x) {
|
while (x) {
|
||||||
|
20
configure
vendored
20
configure
vendored
@ -8039,7 +8039,7 @@ fi
|
|||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
INSTALL_ENV="YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
fi
|
fi
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
;;
|
;;
|
||||||
*sunos4*)
|
*sunos4*)
|
||||||
M4="/usr/5bin/m4"
|
M4="/usr/5bin/m4"
|
||||||
@ -8054,7 +8054,7 @@ fi
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*hpux*)
|
*hpux*)
|
||||||
@ -8098,7 +8098,7 @@ fi
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*aix*)
|
*aix*)
|
||||||
@ -8112,7 +8112,7 @@ fi
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*osf*)
|
*osf*)
|
||||||
@ -8169,7 +8169,7 @@ fi
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*irix6*)
|
*irix6*)
|
||||||
@ -8184,7 +8184,7 @@ fi
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*darwin*)
|
*darwin*)
|
||||||
@ -8263,7 +8263,7 @@ fi
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
YAPLIB_LD="$CC -dynamiclib -Wl,-install_name,$prefix/lib/libYap.$SO"
|
YAPLIB_LD="$CC -dynamiclib -Wl,-install_name,$prefix/lib/libYap.$SO"
|
||||||
PRE_INSTALL_ENV="DYLD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$DYLD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="DYLD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$DYLD_LIBRARY_PATH"
|
||||||
;;
|
;;
|
||||||
*netbsd*|*openbsd*|*freebsd*|*dragonfly*)
|
*netbsd*|*openbsd*|*freebsd*|*dragonfly*)
|
||||||
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
||||||
@ -8288,7 +8288,7 @@ fi
|
|||||||
YAPLIB_LD=$SHLIB_LD
|
YAPLIB_LD=$SHLIB_LD
|
||||||
SONAMEFLAG="-Wl,--soname=$DYNYAPLIB"
|
SONAMEFLAG="-Wl,--soname=$DYNYAPLIB"
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -Wl,-R,\$(YAPLIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -Wl,-R,\$(YAPLIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*solaris*)
|
*solaris*)
|
||||||
@ -8308,7 +8308,7 @@ fi
|
|||||||
then
|
then
|
||||||
YAPLIB_LD="\$(CC)"
|
YAPLIB_LD="\$(CC)"
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
else
|
else
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
@ -8404,7 +8404,7 @@ fi
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
20
configure.in
20
configure.in
@ -1267,7 +1267,7 @@ case "$target_os" in
|
|||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
INSTALL_ENV="YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
fi
|
fi
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
;;
|
;;
|
||||||
*sunos4*)
|
*sunos4*)
|
||||||
M4="/usr/5bin/m4"
|
M4="/usr/5bin/m4"
|
||||||
@ -1282,7 +1282,7 @@ case "$target_os" in
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*hpux*)
|
*hpux*)
|
||||||
@ -1322,7 +1322,7 @@ case "$target_os" in
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*aix*)
|
*aix*)
|
||||||
@ -1336,7 +1336,7 @@ case "$target_os" in
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*osf*)
|
*osf*)
|
||||||
@ -1355,7 +1355,7 @@ dnl Linux has both elf and a.out, in this case we found elf
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*irix6*)
|
*irix6*)
|
||||||
@ -1370,7 +1370,7 @@ dnl Linux has both elf and a.out, in this case we found elf
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*darwin*)
|
*darwin*)
|
||||||
@ -1410,7 +1410,7 @@ dnl Linux has both elf and a.out, in this case we found elf
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
YAPLIB_LD="$CC -dynamiclib -Wl,-install_name,$prefix/lib/libYap.$SO"
|
YAPLIB_LD="$CC -dynamiclib -Wl,-install_name,$prefix/lib/libYap.$SO"
|
||||||
PRE_INSTALL_ENV="DYLD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$DYLD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="DYLD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$DYLD_LIBRARY_PATH"
|
||||||
;;
|
;;
|
||||||
*netbsd*|*openbsd*|*freebsd*|*dragonfly*)
|
*netbsd*|*openbsd*|*freebsd*|*dragonfly*)
|
||||||
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
||||||
@ -1435,7 +1435,7 @@ dnl Linux has both elf and a.out, in this case we found elf
|
|||||||
YAPLIB_LD=$SHLIB_LD
|
YAPLIB_LD=$SHLIB_LD
|
||||||
SONAMEFLAG="-Wl,--soname=$DYNYAPLIB"
|
SONAMEFLAG="-Wl,--soname=$DYNYAPLIB"
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -Wl,-R,\$(YAPLIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -Wl,-R,\$(YAPLIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
*solaris*)
|
*solaris*)
|
||||||
@ -1455,7 +1455,7 @@ dnl Linux has both elf and a.out, in this case we found elf
|
|||||||
then
|
then
|
||||||
YAPLIB_LD="\$(CC)"
|
YAPLIB_LD="\$(CC)"
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
else
|
else
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
@ -1512,7 +1512,7 @@ dnl Linux has both elf and a.out, in this case we found elf
|
|||||||
DYNYAPLIB=libYap."$SO"
|
DYNYAPLIB=libYap."$SO"
|
||||||
SONAMEFLAG=""
|
SONAMEFLAG=""
|
||||||
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
EXTRA_LIBS_FOR_DLLS="$EXTRA_LIBS_FOR_DLLS -L\$(abs_top_builddir) -lYap -Wl,-R,\$(YAPLIBDIR) -Wl,-R,\$(LIBDIR)"
|
||||||
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/lib/sys:$LD_LIBRARY_PATH"
|
PRE_INSTALL_ENV="LD_LIBRARY_PATH=\$(abs_top_builddir):\$(abs_top_builddir)/library/system:$LD_LIBRARY_PATH"
|
||||||
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
INSTALL_ENV="LD_LIBRARY_PATH=\$(DESTDIR)\$(LIBDIR):\$(DESTDIR)\$(YAPLIBDIR): YAPSHAREDIR=\$(DESTDIR)\$(SHAREDIR) YAPLIBDIR=\$(DESTDIR)\$(YAPLIBDIR)"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -1136,7 +1136,11 @@ initPrologFlags(void)
|
|||||||
setPrologFlag("user_flags", FT_ATOM, "silent");
|
setPrologFlag("user_flags", FT_ATOM, "silent");
|
||||||
setPrologFlag("editor", FT_ATOM, "default");
|
setPrologFlag("editor", FT_ATOM, "default");
|
||||||
setPrologFlag("debugger_show_context", FT_BOOL, FALSE, 0);
|
setPrologFlag("debugger_show_context", FT_BOOL, FALSE, 0);
|
||||||
|
#ifndef __YAP_PROLOG__
|
||||||
setPrologFlag("autoload", FT_BOOL, TRUE, PLFLAG_AUTOLOAD);
|
setPrologFlag("autoload", FT_BOOL, TRUE, PLFLAG_AUTOLOAD);
|
||||||
|
#else
|
||||||
|
setPrologFlag("autoload", FT_BOOL, FALSE, PLFLAG_AUTOLOAD);
|
||||||
|
#endif
|
||||||
#ifndef O_GMP
|
#ifndef O_GMP
|
||||||
setPrologFlag("max_integer", FT_INT64|FF_READONLY, PLMAXINT);
|
setPrologFlag("max_integer", FT_INT64|FF_READONLY, PLMAXINT);
|
||||||
setPrologFlag("min_integer", FT_INT64|FF_READONLY, PLMININT);
|
setPrologFlag("min_integer", FT_INT64|FF_READONLY, PLMININT);
|
||||||
|
@ -997,9 +997,6 @@ atom_to_term(term_t atom, term_t term, term_t bindings)
|
|||||||
{ GET_LD
|
{ GET_LD
|
||||||
PL_chars_t txt;
|
PL_chars_t txt;
|
||||||
|
|
||||||
{ FILE *f=fopen("/home/vsc/coutput.txt", "append");
|
|
||||||
fprintf(f, "IN: %ld\n", bindings);
|
|
||||||
fclose(f); }
|
|
||||||
if ( !bindings && PL_is_variable(atom) ) /* term_to_atom(+, -) */
|
if ( !bindings && PL_is_variable(atom) ) /* term_to_atom(+, -) */
|
||||||
{ char buf[1024];
|
{ char buf[1024];
|
||||||
size_t bufsize = sizeof(buf);
|
size_t bufsize = sizeof(buf);
|
||||||
@ -1018,9 +1015,6 @@ atom_to_term(term_t atom, term_t term, term_t bindings)
|
|||||||
txt.storage = PL_CHARS_HEAP;
|
txt.storage = PL_CHARS_HEAP;
|
||||||
txt.encoding = ENC_UTF8;
|
txt.encoding = ENC_UTF8;
|
||||||
txt.canonical = FALSE;
|
txt.canonical = FALSE;
|
||||||
{ FILE *f=fopen("/home/vsc/coutput.txt", "append");
|
|
||||||
fprintf(f, "SUCCESS: %s\n", buf);
|
|
||||||
fclose(f); }
|
|
||||||
rval = PL_unify_text(atom, 0, &txt, PL_ATOM);
|
rval = PL_unify_text(atom, 0, &txt, PL_ATOM);
|
||||||
|
|
||||||
Sclose(stream);
|
Sclose(stream);
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8227ad57d54473b719d330632b8e3c5536776b71
|
Subproject commit bd7973d4bff21af39e5f8efdc377c0a2eb2d594f
|
@ -1 +1 @@
|
|||||||
Subproject commit 0bcbe41017f90149434e6ae9a658bf7cd05f255f
|
Subproject commit 4d335368d3f6dac797a100be5c72e64a22849383
|
@ -18,6 +18,12 @@
|
|||||||
%
|
%
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
|
c(G, C, A) :-
|
||||||
|
'$$save_by'(CP0),
|
||||||
|
'$execute'(G),
|
||||||
|
'$$save_by'(CP1),
|
||||||
|
(CP0 == CP1 -> !; true ).
|
||||||
|
|
||||||
|
|
||||||
true :- true.
|
true :- true.
|
||||||
|
|
||||||
|
@ -923,8 +923,8 @@ absolute_file_name(File,Opts,TrueFileName) :-
|
|||||||
'$get_if'(Level0),
|
'$get_if'(Level0),
|
||||||
Level is Level0 + 1,
|
Level is Level0 + 1,
|
||||||
nb_setval('$if_level',Level),
|
nb_setval('$if_level',Level),
|
||||||
'$nb_getval'('$endif', OldEndif, OldEndif=top),
|
( '$nb_getval'('$endif', OldEndif, fail) -> true ; OldEndif=top),
|
||||||
'$nb_getval'('$if_skip_mode', Mode, Mode=run),
|
( '$nb_getval'('$if_skip_mode', Mode, fail) -> true ; Mode = run ),
|
||||||
nb_setval('$endif',elif(Level,OldEndif,Mode)),
|
nb_setval('$endif',elif(Level,OldEndif,Mode)),
|
||||||
fail.
|
fail.
|
||||||
% we are in skip mode, ignore....
|
% we are in skip mode, ignore....
|
||||||
@ -938,6 +938,7 @@ absolute_file_name(File,Opts,TrueFileName) :-
|
|||||||
% we will execute this branch, and later enter skip
|
% we will execute this branch, and later enter skip
|
||||||
'$nb_getval'('$endif', elif(Level,OldEndif,Mode), fail),
|
'$nb_getval'('$endif', elif(Level,OldEndif,Mode), fail),
|
||||||
nb_setval('$endif',endif(Level,OldEndif,Mode))
|
nb_setval('$endif',endif(Level,OldEndif,Mode))
|
||||||
|
|
||||||
;
|
;
|
||||||
% we are now in skip, but can start an elif.
|
% we are now in skip, but can start an elif.
|
||||||
nb_setval('$if_skip_mode',skip)
|
nb_setval('$if_skip_mode',skip)
|
||||||
@ -949,7 +950,7 @@ absolute_file_name(File,Opts,TrueFileName) :-
|
|||||||
'$do_error'(context_error(no_if),(:- else)).
|
'$do_error'(context_error(no_if),(:- else)).
|
||||||
% we have done an if, so just skip
|
% we have done an if, so just skip
|
||||||
'$else'(_) :-
|
'$else'(_) :-
|
||||||
nb_getval('$endif',endif(_,_,_)), !,
|
nb_getval('$endif',endif(_Level,_,_)), !,
|
||||||
nb_setval('$if_skip_mode',skip).
|
nb_setval('$if_skip_mode',skip).
|
||||||
% we can try the elif
|
% we can try the elif
|
||||||
'$else'(_) :-
|
'$else'(_) :-
|
||||||
|
17
pl/flags.yap
17
pl/flags.yap
@ -45,16 +45,6 @@ yap_flag(V,Out) :-
|
|||||||
yap_flag(fast,on) :- set_value('$fast',true).
|
yap_flag(fast,on) :- set_value('$fast',true).
|
||||||
yap_flag(fast,off) :- !, set_value('$fast',[]).
|
yap_flag(fast,off) :- !, set_value('$fast',[]).
|
||||||
|
|
||||||
% do or do not machine code
|
|
||||||
yap_flag(autoload,V) :-
|
|
||||||
var(V), !,
|
|
||||||
( autoloader:autoload -> V = true ; V = false ).
|
|
||||||
yap_flag(autoload,true) :-
|
|
||||||
'$ensure_autoload',
|
|
||||||
assert(autoloader:autoload).
|
|
||||||
yap_flag(autoload,false) :-
|
|
||||||
retract(autoloader:autoload).
|
|
||||||
|
|
||||||
% do or do not machine code
|
% do or do not machine code
|
||||||
yap_flag(argv,L) :- '$argv'(L).
|
yap_flag(argv,L) :- '$argv'(L).
|
||||||
|
|
||||||
@ -702,7 +692,6 @@ yap_flag(max_threads,X) :-
|
|||||||
'$yap_system_flag'(agc_margin).
|
'$yap_system_flag'(agc_margin).
|
||||||
'$yap_system_flag'(answer_format).
|
'$yap_system_flag'(answer_format).
|
||||||
'$yap_system_flag'(argv).
|
'$yap_system_flag'(argv).
|
||||||
'$yap_system_flag'(autoload).
|
|
||||||
'$yap_system_flag'(char_conversion).
|
'$yap_system_flag'(char_conversion).
|
||||||
'$yap_system_flag'(character_escapes).
|
'$yap_system_flag'(character_escapes).
|
||||||
'$yap_system_flag'(chr_toplevel_show_store).
|
'$yap_system_flag'(chr_toplevel_show_store).
|
||||||
@ -1017,9 +1006,3 @@ create_prolog_flag(Name, Value, Options) :-
|
|||||||
'$flag_domain_from_value'(_, term).
|
'$flag_domain_from_value'(_, term).
|
||||||
|
|
||||||
|
|
||||||
'$ensure_autoload' :-
|
|
||||||
load_files([library(autoloader),
|
|
||||||
autoloader:library('INDEX'),
|
|
||||||
swi:library('dialect/swi/INDEX')],
|
|
||||||
[silent(true),if(not_loaded)]).
|
|
||||||
|
|
||||||
|
@ -173,8 +173,6 @@ yap_hacks:cut_by(CP) :- '$$cut_by'(CP).
|
|||||||
%
|
%
|
||||||
:- ( recorded('$loaded','$loaded'(_,_,_),R), erase(R), fail ; true ).
|
:- ( recorded('$loaded','$loaded'(_,_,_),R), erase(R), fail ; true ).
|
||||||
|
|
||||||
:- dynamic autoloader:autoload/0.
|
|
||||||
|
|
||||||
:- set_value('$user_module',user), '$protect'.
|
:- set_value('$user_module',user), '$protect'.
|
||||||
|
|
||||||
:- style_check([-discontiguous,-multiple,-single_var]).
|
:- style_check([-discontiguous,-multiple,-single_var]).
|
||||||
|
@ -431,13 +431,29 @@ expand_goal(G, G).
|
|||||||
call(Dialect:index(Name,Arity,ExportingModI,_)), !,
|
call(Dialect:index(Name,Arity,ExportingModI,_)), !,
|
||||||
'$continue_imported'(ExportingMod, ExportingModI, G0, G), !.
|
'$continue_imported'(ExportingMod, ExportingModI, G0, G), !.
|
||||||
'$get_undefined_pred'(G, _ImportingMod, G0, ExportingMod) :-
|
'$get_undefined_pred'(G, _ImportingMod, G0, ExportingMod) :-
|
||||||
autoloader:autoload,
|
yap_flag(autoload, V),
|
||||||
autoloader:find_predicate(G,ExportingModI), !,
|
V = true,
|
||||||
'$continue_imported'(ExportingMod, ExportingModI, G0, G), !.
|
'$autoloader_find_predicate'(G,ExportingModI), !,
|
||||||
|
'$continue_imported'(ExportingMod, ExportingModI, G0, G).
|
||||||
'$get_undefined_pred'(G, ImportingMod, G0, ExportingMod) :-
|
'$get_undefined_pred'(G, ImportingMod, G0, ExportingMod) :-
|
||||||
prolog:'$parent_module'(ImportingMod,ExportingModI),
|
prolog:'$parent_module'(ImportingMod,ExportingModI),
|
||||||
'$continue_imported'(ExportingMod, ExportingModI, G0, G).
|
'$continue_imported'(ExportingMod, ExportingModI, G0, G).
|
||||||
|
|
||||||
|
|
||||||
|
'$autoloader_find_predicate'(G,ExportingModI) :-
|
||||||
|
'$nb_getval'('$autoloader_set', true, fail), !,
|
||||||
|
autoloader:find_predicate(G,ExportingModI).
|
||||||
|
'$autoloader_find_predicate'(G,ExportingModI) :-
|
||||||
|
yap_flag(autoload, false),
|
||||||
|
load_files([library(autoloader),
|
||||||
|
autoloader:library('INDEX'),
|
||||||
|
swi:library('dialect/swi/INDEX')],
|
||||||
|
[silent(true),if(not_loaded)]),
|
||||||
|
nb_setval('$autoloader_set', true),
|
||||||
|
yap_flag(autoload, true),
|
||||||
|
autoloader:find_predicate(G,ExportingModI).
|
||||||
|
|
||||||
|
|
||||||
'$continue_imported'(Mod,Mod,Pred,Pred) :-
|
'$continue_imported'(Mod,Mod,Pred,Pred) :-
|
||||||
\+ '$undefined'(Pred, Mod), !.
|
\+ '$undefined'(Pred, Mod), !.
|
||||||
'$continue_imported'(FM,Mod,FPred,Pred) :-
|
'$continue_imported'(FM,Mod,FPred,Pred) :-
|
||||||
|
Reference in New Issue
Block a user