This commit is contained in:
Vitor Santos Costa
2016-08-15 14:53:20 -05:00
parent 7b86e28e00
commit cc1a44c7a7
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ Yap_ensure_atom__( const char *fu, const char *fi, int line, Term in )
return NULL; \
}
#define HEAP_TERM_ERROR(a, TYPE) \
#define HEAP_TERM_ERROR(a, TYPE, n) \
if (a == NIL) { \
LOCAL_Error_TYPE = RESOURCE_ERROR_HEAP; \
LOCAL_Error_Term = t; \