fixed NULL in Yap.h.m4
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@238 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
8bd62b9125
commit
2088cb48b0
@ -10,7 +10,7 @@
|
|||||||
* File: Yap.h.m4 *
|
* File: Yap.h.m4 *
|
||||||
* mods: *
|
* mods: *
|
||||||
* comments: main header file for YAP *
|
* comments: main header file for YAP *
|
||||||
* version: $Id: Yap.h.m4,v 1.14 2001-12-18 22:01:26 vsc Exp $ *
|
* version: $Id: Yap.h.m4,v 1.15 2001-12-20 17:19:43 vsc Exp $ *
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -832,7 +832,7 @@ extern int yap_argc;
|
|||||||
} \
|
} \
|
||||||
if (PrologMode & AbortMode) { \
|
if (PrologMode & AbortMode) { \
|
||||||
PrologMode &= ~AbortMode; \
|
PrologMode &= ~AbortMode; \
|
||||||
Error(PURE_ABORT, TermNil, ""); \
|
Error(PURE_ABORT, 0, ""); \
|
||||||
} \
|
} \
|
||||||
GLOBAL_LOCKS_who_locked_heap = MAX_WORKERS; \
|
GLOBAL_LOCKS_who_locked_heap = MAX_WORKERS; \
|
||||||
UNLOCK(GLOBAL_LOCKS_heap_access); \
|
UNLOCK(GLOBAL_LOCKS_heap_access); \
|
||||||
@ -855,7 +855,7 @@ extern int yap_argc;
|
|||||||
} \
|
} \
|
||||||
if (PrologMode & AbortMode) { \
|
if (PrologMode & AbortMode) { \
|
||||||
PrologMode &= ~AbortMode; \
|
PrologMode &= ~AbortMode; \
|
||||||
Error(PURE_ABORT, TermNil, ""); \
|
Error(PURE_ABORT, 0, ""); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user