be careful how you call macros.

This commit is contained in:
Costa Vitor 2012-08-14 16:07:26 -05:00
parent bf4d37eb0d
commit 72c650cda0

View File

@ -450,7 +450,11 @@ p_put_att( USES_REGS1 ) {
return FALSE;
}
}
Bind_NonAtt(VarOfTerm(Deref(ARG1)), AbsAttVar(attv));
{
CELL *ptr = VarOfTerm(Deref(ARG1));
CELL d0 = AbsAttVar(attv);
Bind_NonAtt(ptr, d0);
}
AddNewModule(attv, tatts, new, TRUE PASS_REGS);
}
PutAtt(IntegerOfTerm(Deref(ARG4)), tatts, Deref(ARG5) PASS_REGS);