try to give more helpful message in console aborts

This commit is contained in:
Vitor Santos Costa 2009-04-25 11:00:39 -05:00
parent 2be95d87c6
commit 09d33c6cad
1 changed files with 1 additions and 1 deletions

View File

@ -1421,7 +1421,7 @@ InteractSIGINT(int ch) {
if (Yap_PrologMode & (GCMode|ConsoleGetcMode|GrowStackMode|GrowHeapMode)) {
Yap_PrologMode |= AbortMode;
} else {
Yap_Error(PURE_ABORT, TermNil, "");
Yap_Error(PURE_ABORT, TermNil, "abort from console");
/* in case someone mangles the P register */
save_machine_regs();
#if _MSC_VER || defined(__MINGW32__)