This commit is contained in:
Vitor Santos Costa 2016-07-31 10:21:45 -05:00
parent 468a2279c3
commit be313a5b49

View File

@ -73,10 +73,12 @@ static void do_top_goal(YAP_Term Goal) { YAP_RunGoalOnce(Goal); }
static int init_standard_system(int argc, char *argv[], YAP_init_args *iap) {
YAP_file_type_t BootMode = YAP_parse_yap_arguments(argc, argv, iap);
YAP_file_type_t BootMode;
BootMode = YAP_parse_yap_arguments(argc, argv, iap);
/* init memory */
iap->initial_file_type =
iap->boot_file_type =
BootMode = YAP_Init(iap);
if (iap->ErrorNo) {
/* boot failed */