From dd6ac01ece51dcb58074b750f5254bef873f34d6 Mon Sep 17 00:00:00 2001 From: rslopes Date: Mon, 22 Aug 2005 14:38:04 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1373 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- docs/yap.tex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/yap.tex b/docs/yap.tex index da126c05a..108cf8129 100644 --- a/docs/yap.tex +++ b/docs/yap.tex @@ -14176,9 +14176,7 @@ An alternative is to use @emph{slots}, as shown next: out = YAP_RunGoal(t); t = YAP_GetFromSlot(sl); YAP_RecoverSlots(1); - if (out == 0) { - return FALSE; - } + if (out == 0) return FALSE; @end example Slots are safe houses in the stack, preserved by the garbage collector and the stack shifter. In this case, we use a slot to preserve @var{t}