fix handling of repeated calls to YAP_Init.

This commit is contained in:
Vítor Santos Costa
2012-04-12 23:25:04 +01:00
parent 5a8cc421d2
commit af7510a67b
2 changed files with 8 additions and 1 deletions

View File

@@ -115,6 +115,7 @@ typedef enum {
#define YAP_BOOT_FROM_SAVED_CODE 1
#define YAP_BOOT_FROM_SAVED_STACKS 2
#define YAP_FULL_BOOT_FROM_PROLOG 4
#define YAP_BOOT_DONE_BEFOREHAND 8
#define YAP_BOOT_ERROR -1
#define YAP_WRITE_QUOTED 1