consistency changes

This commit is contained in:
Vítor Santos Costa 2015-08-18 14:56:54 -05:00
parent 80036958a1
commit 338a4bb733

View File

@ -691,7 +691,7 @@ Yap_Error(yap_error_number type, Term where, const char *format,...)
}
va_end (ap);
fprintf(stderr,"%% ERROR WITHIN WARNING %d: %s\n", LOCAL_CurrentError, tmpbuf);
Yap_RestartYap( 1 );
Yap_exit( 1 );
}
/* must do this here */
if (type == FATAL_ERROR
@ -1728,8 +1728,7 @@ Yap_Error(yap_error_number type, Term where, const char *format,...)
i = strlen(tmpbuf);
psize -= i;
fun = FunctorError;
serious = TRUE;
fun = FunctorSyntaxError;
}
break;
case SAVED_STATE_ERROR: