have different types for Functor,Atom and Term.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@555 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
73cfb5f100
commit
e476bc0abc
@ -17,6 +17,10 @@
|
|||||||
<h2>Yap-4.3.23:</h2>
|
<h2>Yap-4.3.23:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
<li>FIXED: make call_with_args/* check if first arg is atom.</li>
|
||||||
|
<li>FIXED: make cd/1 complain on bugs.</li>
|
||||||
|
<li>FIXED: always do something on gmp allocation (request from
|
||||||
|
Roberto Bagnara).</li>
|
||||||
<li>FIXED: always allow abolish on static predicates.</li>
|
<li>FIXED: always allow abolish on static predicates.</li>
|
||||||
<li>UPDATE: include new apply_macros code from Erick Alphonse,
|
<li>UPDATE: include new apply_macros code from Erick Alphonse,
|
||||||
and acknowledge J. Schimpf.</li>
|
and acknowledge J. Schimpf.</li>
|
||||||
|
@ -145,7 +145,7 @@ do_bootfile (char *bootfilename)
|
|||||||
Term term_nil = MkAtomTerm(YapLookupAtom("[]"));
|
Term term_nil = MkAtomTerm(YapLookupAtom("[]"));
|
||||||
Term term_end_of_file = MkAtomTerm(YapLookupAtom("end_of_file"));
|
Term term_end_of_file = MkAtomTerm(YapLookupAtom("end_of_file"));
|
||||||
Term term_true = MkAtomTerm(YapLookupAtom("true"));
|
Term term_true = MkAtomTerm(YapLookupAtom("true"));
|
||||||
Term functor_query = MkFunctor(YapLookupAtom("?-"),1);
|
Functor functor_query = MkFunctor(YapLookupAtom("?-"),1);
|
||||||
|
|
||||||
|
|
||||||
fprintf(stderr,"Entering Yap\n");
|
fprintf(stderr,"Entering Yap\n");
|
||||||
|
@ -36,7 +36,11 @@ typedef long int Int;
|
|||||||
|
|
||||||
typedef double flt;
|
typedef double flt;
|
||||||
|
|
||||||
typedef CELL Term, Functor, Atom;
|
typedef CELL Term;
|
||||||
|
|
||||||
|
typedef struct FunctorEntry *Functor;
|
||||||
|
|
||||||
|
typedef struct AtomEntry *Atom;
|
||||||
|
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
Reference in New Issue
Block a user