dynamic predicates with no clauses are not undefined, so

they should not point at UNDEFCODE but at FAIL_CODE


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@636 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2002-10-14 16:25:38 +00:00
parent ca930d6321
commit 78923655b5
10 changed files with 90 additions and 41 deletions

View File

@@ -818,6 +818,7 @@ InitCodes(void)
heap_regs->yescode.opc = opcode(_Ystop);
heap_regs->undef_op = opcode(_undef_p);
heap_regs->index_op = opcode(_index_pred);
heap_regs->fail_op = opcode(_op_fail);
heap_regs->nocode.opc = opcode(_Nstop);