TermZero for error handling

This commit is contained in:
Vitor Santos Costa 2016-05-12 11:50:53 +01:00
parent 033d77b47a
commit b28deedffe

View File

@ -27,6 +27,12 @@
/* The YAP main types */
#include "YapTerm.h"
/**
This term can never be constructed as a valid term, so it is
used as a "BAD" term
*/
#define TermZERO ((Term)0)
#else
#include "YapConfig.h"