fix bad handling of singletons with write_canonical.
This commit is contained in:
@@ -623,7 +623,7 @@ currentOperator(Module m, atom_t name, int kind, int *type, int *priority)
|
||||
|
||||
int
|
||||
numberVars(term_t t, nv_options *opts, int n ARG_LD) {
|
||||
return Yap_NumberVars(YAP_GetFromSlot(t), n);
|
||||
return Yap_NumberVars(YAP_GetFromSlot(t), n, TRUE);
|
||||
}
|
||||
|
||||
/*******************************
|
||||
|
Reference in New Issue
Block a user