make sure to initialise u.Code in dbase.c

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@745 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2003-01-21 23:27:02 +00:00
parent 3d5b22a732
commit 8a72ec94b9
3 changed files with 20 additions and 18 deletions

View File

@@ -498,7 +498,7 @@ debugging :-
CP is '$last_choice_pt',
functor(G,F,N),
(
'$meta_predicate'(F,M,N,_) ->
'$meta_predicate'(F,M,N,_) ->
'$setflop'(1),
'$creep',
% I need to use call, otherwise I'll be in trouble if G
@@ -553,10 +553,10 @@ debugging :-
D1 is D0-1.
'$do_execute_dynamic_clause'(G,M,Clause) :-
Clause = (G :- Body),
'$check_depth_for_interpreter'(D),
('$undefined'('$set_depth_limit'(_),prolog) -> true ; '$set_depth_limit'(D)),
CP is '$last_choice_pt',
Clause = (G :- Body),
( Body = true -> true ; '$call'(Body,CP,Body,M) ).
'$do_creep_execute'(G,M,Cl) :-