fix bug in add array element
make agc on by default. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1911 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
cd23c60c45
commit
1f2d769971
@ -2013,9 +2013,8 @@ p_add_to_array_element(void)
|
||||
return(FALSE);
|
||||
}
|
||||
#ifdef MULTI_ASSIGNMENT_VARIABLES
|
||||
t3 = MkIntegerTerm(IntegerOfTerm(t3)+1);
|
||||
MaBind(ptr, t3);
|
||||
return(Yap_unify(ARG4,t3));
|
||||
MaBind(ptr, ta);
|
||||
return(Yap_unify(ARG4,ta));
|
||||
#else
|
||||
Yap_Error(SYSTEM_ERROR,t2,"add_to_array_element");
|
||||
return(FALSE);
|
||||
|
3
C/init.c
3
C/init.c
@ -1225,8 +1225,7 @@ InitCodes(void)
|
||||
Yap_heap_regs->foreign_code_loaded = NULL;
|
||||
Yap_heap_regs->yap_lib_dir = NULL;
|
||||
Yap_heap_regs->agc_last_call = 0;
|
||||
/* should be 10000 */
|
||||
Yap_heap_regs->agc_threshold = 0;
|
||||
Yap_heap_regs->agc_threshold = 10000;
|
||||
Yap_heap_regs->agc_hook = NULL;
|
||||
Yap_heap_regs->parser_error_style = EXCEPTION_ON_PARSER_ERROR;
|
||||
Yap_heap_regs->size_of_overflow = 0;
|
||||
|
22
TO_DO
22
TO_DO
@ -1,3 +1,25 @@
|
||||
For 6.0
|
||||
o Rogério Salvini's report
|
||||
o Fix many modules
|
||||
o Fix meta-commas
|
||||
o Fix CLPBN/matlab
|
||||
o Document CLPBN
|
||||
o Fix meta-call conjunction
|
||||
o exo-emulation.
|
||||
o EMACS interface.
|
||||
o Upgrade JPL
|
||||
o Upgrade ciao packages
|
||||
o install SWIPL xml processing
|
||||
o talk to Fabrizio
|
||||
o upgrade save/restore
|
||||
o exec_c
|
||||
o R Interface
|
||||
|
||||
5.1.3
|
||||
o document MATLAB interface
|
||||
|
||||
|
||||
|
||||
BEFORE 4.4:
|
||||
- mixed attributes and delays.
|
||||
- write infinite terms
|
||||
|
@ -16,6 +16,9 @@
|
||||
|
||||
<h2>Yap-5.1.3:</h2>
|
||||
<ul>
|
||||
<li> NEW: start atom_gc by default.</li>
|
||||
<li> FIXED: array add was not working for dyamic arrays (obs from Rui
|
||||
Camacho).</li>
|
||||
<li> FIXED: add MATLAB interface docs.</li>
|
||||
</ul>
|
||||
|
||||
|
Reference in New Issue
Block a user