moe changes to support atomic generation of atoms
support automatic generation of code walker (to find P's predicate and clause)
This commit is contained in:
@@ -837,7 +837,7 @@ static Int
|
||||
p_swi_all_atts(void) {
|
||||
/* receive a variable in ARG1 */
|
||||
Term inp = Deref(ARG1);
|
||||
Functor attf = Yap_MkFunctor(AtomAtt1,3);
|
||||
Functor attf = FunctorAtt1;
|
||||
|
||||
/* if this is unbound, ok */
|
||||
if (IsVarTerm(inp)) {
|
||||
@@ -962,7 +962,7 @@ p_is_attvar(void)
|
||||
static Int
|
||||
p_attvar_bound(void)
|
||||
{
|
||||
return FALSE;
|
||||
b return FALSE;
|
||||
}
|
||||
|
||||
#endif /* COROUTINING */
|
||||
|
Reference in New Issue
Block a user