Added comment to debugger exit with error

This commit is contained in:
mc78
2019-11-12 20:48:43 +01:00
committed by Oliver Schmidt
parent 3daecfb3dd
commit 694dd9240f
4 changed files with 8 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
#include <ctype.h>
#include <6502.h>
#include <dbg.h>
#include <cc65.h>
/*****************************************************************************/
@@ -1580,8 +1580,11 @@ void DbgEntry (void)
case 'q':
/* Quit program */
clrscr ();
/* Exit intentionally with error because one may
say that DbgEntry is always abnormal. */
exit (CC65_EXIT_FAILURE);
}
}
}