consistency changes
This commit is contained in:
parent
80036958a1
commit
338a4bb733
@ -691,7 +691,7 @@ Yap_Error(yap_error_number type, Term where, const char *format,...)
|
|||||||
}
|
}
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
fprintf(stderr,"%% ERROR WITHIN WARNING %d: %s\n", LOCAL_CurrentError, tmpbuf);
|
fprintf(stderr,"%% ERROR WITHIN WARNING %d: %s\n", LOCAL_CurrentError, tmpbuf);
|
||||||
Yap_RestartYap( 1 );
|
Yap_exit( 1 );
|
||||||
}
|
}
|
||||||
/* must do this here */
|
/* must do this here */
|
||||||
if (type == FATAL_ERROR
|
if (type == FATAL_ERROR
|
||||||
@ -1728,8 +1728,7 @@ Yap_Error(yap_error_number type, Term where, const char *format,...)
|
|||||||
|
|
||||||
i = strlen(tmpbuf);
|
i = strlen(tmpbuf);
|
||||||
psize -= i;
|
psize -= i;
|
||||||
fun = FunctorError;
|
fun = FunctorSyntaxError;
|
||||||
serious = TRUE;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SAVED_STATE_ERROR:
|
case SAVED_STATE_ERROR:
|
||||||
|
Reference in New Issue
Block a user