linking
This commit is contained in:
parent
471d6e4f77
commit
c79a5ec372
6
C/init.c
6
C/init.c
@ -57,7 +57,7 @@ static char SccsId[] = "%W% %G%";
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef YAPOR
|
||||
#ifndef YAPOR
|
||||
Atom AtomFoundVar, AtomFreeTerm, AtomNil, AtomDot;
|
||||
#endif // !YAPOR
|
||||
|
||||
@ -294,8 +294,7 @@ static void SetOp(int p, int type, char *at, Term m) {
|
||||
OpDec(p, optypes[type], Yap_LookupAtom(at), m);
|
||||
}
|
||||
|
||||
bool Yap_dup_op(OpEntry *op, ModEntry *she)
|
||||
{
|
||||
bool Yap_dup_op(OpEntry *op, ModEntry *she) {
|
||||
AtomEntry *ae = RepAtom(op->OpName);
|
||||
OpEntry *info = (OpEntry *)Yap_AllocAtomSpace(sizeof(OpEntry));
|
||||
if (!info)
|
||||
@ -309,7 +308,6 @@ bool Yap_dup_op(OpEntry *op, ModEntry *she)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/* Gets the info about an operator in a prop */
|
||||
Atom Yap_GetOp(OpEntry *pp, int *prio, int fix) {
|
||||
int n;
|
||||
|
Reference in New Issue
Block a user