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:
vsc
2007-07-01 00:14:35 +00:00
parent cd23c60c45
commit 1f2d769971
4 changed files with 28 additions and 5 deletions

View File

@@ -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;