JPL and DL fixes
documentation fix. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1572 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
e90ddb032f
commit
01091f0bfa
@ -581,7 +581,7 @@ Yap_InitCoroutPreds(void)
|
||||
Atom at;
|
||||
PredEntry *pred;
|
||||
|
||||
at = Yap_LookupAtom("$wake_up_goal");
|
||||
at = Yap_FullLookupAtom("$wake_up_goal");
|
||||
pred = RepPredProp(PredPropByFunc(Yap_MkFunctor(at, 2),0));
|
||||
WakeUpCode = pred;
|
||||
#endif
|
||||
|
@ -126,6 +126,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
|
||||
|
||||
sc = Yap_heap_regs;
|
||||
vsc_count++;
|
||||
if (vsc_count == 229) jmp_deb(1);
|
||||
#ifdef COMMENTED
|
||||
// if (vsc_count == 218280)
|
||||
// vsc_xstop = 1;
|
||||
@ -183,7 +184,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
|
||||
printf("\n");
|
||||
}
|
||||
#endif
|
||||
fprintf(Yap_stderr,"%lld ", vsc_count);
|
||||
fprintf(Yap_stderr,"%lld %x ", vsc_count,ActiveSignals);
|
||||
#if defined(THREADS) || defined(YAPOR)
|
||||
fprintf(Yap_stderr,"(%d)", worker_id);
|
||||
#endif
|
||||
|
@ -79,8 +79,8 @@ CLASSES=$(JAVA:.java=.class)
|
||||
all: $(JPL)
|
||||
|
||||
$(JAVA):
|
||||
-@ ( cd jpl ; @LN_S@ $(srcdir)/jpl/*.java .)
|
||||
-@ ( cd jpl/fli ; @LN_S@ $(srcdir)/jpl/fli/*.java .)
|
||||
for f in $(CLS); do cp $(srcdir)/$$f jpl ; done
|
||||
for f in $(FLI); do cp $(srcdir)/$$f jpl/fli ; done
|
||||
|
||||
$(JPL): $(JAVA)
|
||||
$(JAVAC) $(JAVA)
|
||||
|
@ -23,7 +23,7 @@ LIBDIR=$(EROOTDIR)/lib/Yap
|
||||
#
|
||||
#
|
||||
CC=@CC@
|
||||
CFLAGS= @CFLAGS@ $(YAP_EXTRAS) $(DEFS) -I$(srcdir) -I../.. -I$(srcdir)/../../../include -I$(srcdir)/../../../library/yap2swi $(JVM_INC) -DIN_YAP=1 -DJAVA_HOME=\"$(JAVA_HOME)\"
|
||||
CFLAGS= @CFLAGS@ $(YAP_EXTRAS) $(DEFS) -I$(srcdir) -I../../.. -I$(srcdir)/../../../include -I$(srcdir)/../../../library/yap2swi $(JVM_INC) -DIN_YAP=1 -DJAVA_HOME=\"$(JAVA_HOME)\"
|
||||
#
|
||||
#
|
||||
# You shouldn't need to change what follows.
|
||||
|
@ -537,11 +537,11 @@ install_unix: startup libYap.a
|
||||
$(INSTALL_PROGRAM) -m 755 yap@EXEC_SUFFIX@ $(DESTDIR)$(BINDIR)/yap
|
||||
mkdir -p $(DESTDIR)$(YAPLIBDIR)
|
||||
$(INSTALL_DATA) startup $(DESTDIR)$(YAPLIBDIR)/startup
|
||||
@INSTALL_DLLS@ $(INSTALL_DATA) -m 755 @YAPLIB@ $(DESTDIR)$(LIBDIR)
|
||||
$(INSTALL_DATA) libYap.a $(DESTDIR)$(LIBDIR)/libYap.a
|
||||
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
|
||||
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/pl
|
||||
for f in $(PL_SOURCES); do $(INSTALL) $$f $(DESTDIR)$(SHAREDIR)/Yap/pl; done
|
||||
@INSTALL_DLLS@ $(INSTALL_PROGRAM) -m 755 @YAPLIB@ $(DESTDIR)$(LIBDIR)
|
||||
@INSTALL_DLLS@ (cd library/random; make install)
|
||||
@INSTALL_DLLS@ (cd library/regex; make install)
|
||||
@INSTALL_DLLS@ (cd library/system; make install)
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
<h2>Yap-5.1.0:</h2>
|
||||
<ul>
|
||||
<li> FIXED: compilation with dynamic libraries and JPL compilation.</li>
|
||||
<li> FIXED: typo in manual (obs Bernd Gutmann).</li>
|
||||
<li> NEW: track the current block more aggressively, to avoid
|
||||
expand_index taking too long searching for a block.</li>
|
||||
|
@ -2455,7 +2455,7 @@ Prolog standard the default action is @code{error}).
|
||||
|
||||
After defining @code{undefined/1} by:
|
||||
@example
|
||||
undefined(A) :- format('Undefined predicate: ~w~n'), fail.
|
||||
undefined(A) :- format('Undefined predicate: ~w~n',[A]), fail.
|
||||
@end example
|
||||
@noindent
|
||||
and executing the goal:
|
||||
|
Reference in New Issue
Block a user