From eb5d90d85fd86238d327fa89ed07e8a998a4d7c1 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Tue, 5 Apr 2016 08:07:28 +0100 Subject: [PATCH] boot from pl --- C/yap-args.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C/yap-args.c b/C/yap-args.c index 59a54d4ef..c28eb9ef9 100755 --- a/C/yap-args.c +++ b/C/yap-args.c @@ -16,18 +16,18 @@ *************************************************************************/ /* static char SccsId[] = "X 4.3.3"; */ -#include "config.h" #include "Yap.h" #include "YapHeap.h" #include "YapInterface.h" +#include "config.h" #if HAVE_UNISTD_H #include #endif #if HAVE_STDINT_H #include #endif -#include #include +#include #ifdef _MSC_VER /* Microsoft's Visual C++ Compiler */ #ifdef HAVE_UNISTD_H #undef HAVE_UNISTD_H @@ -171,7 +171,7 @@ X_API int YAP_parse_yap_arguments(int argc, char *argv[], YAP_init_args *iap) { iap->MaxTrailSize = 0; iap->YapLibDir = NULL; iap->YapPrologBootFile = NULL; - iap->YapPrologInitFile = NULL; + iap->YapPrologInitGoal = NULL; iap->YapPrologRCFile = NULL; iap->YapPrologGoal = NULL; iap->YapPrologTopLevelGoal = NULL;