From 57a9062689d64cd78081ffe2d19638cd5569d9b1 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Thu, 7 Jan 2016 09:42:48 -0800 Subject: ancestorsRecur: Tidy. --- src/interp/br-data.boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/interp/br-data.boot b/src/interp/br-data.boot index 6399277c..1d03c0ec 100644 --- a/src/interp/br-data.boot +++ b/src/interp/br-data.boot @@ -576,8 +576,8 @@ ancestorsRecur(conform,domform,pred,firstTime?) == --called by ancestorsOf if domform and domform.args then newdomform := applySubst(pairList(conform.args,domform.args),newform) p := applySubst(pairList(conform.args,domform.args),p) - newPred := quickAnd(pred,p) - ancestorsAdd(simpHasPred newPred,newdomform or newform) + newPred := simpHasPred quickAnd(pred,p) + ancestorsAdd(newPred,newdomform or newform) ancestorsRecur(newform,newdomform,newPred,false) tableValue($done,conform) := pred --mark as already processed -- cgit v1.2.3