Mercurial > hg > xemacs-beta
comparison src/emacs.c @ 2535:4c1f2310451d
[xemacs-hg @ 2005-01-31 19:29:47 by ben]
define ABORT always
emacs.c: Define assert_failed() always.
lisp.h: Always define ABORT().
author | ben |
---|---|
date | Mon, 31 Jan 2005 19:29:49 +0000 |
parents | 902d5bd9b75c |
children | 3d8cce0303fa |
comparison
equal
deleted
inserted
replaced
2534:27fda215142d | 2535:4c1f2310451d |
---|---|
3794 /* This flag is useful to define if you're under a debugger; this way, you | 3794 /* This flag is useful to define if you're under a debugger; this way, you |
3795 can put a breakpoint of assert_failed() and debug multiple problems | 3795 can put a breakpoint of assert_failed() and debug multiple problems |
3796 in one session without having to recompile. */ | 3796 in one session without having to recompile. */ |
3797 /* #define ASSERTIONS_DONT_ABORT */ | 3797 /* #define ASSERTIONS_DONT_ABORT */ |
3798 | 3798 |
3799 #ifdef USE_ASSERTIONS | |
3800 /* This highly dubious kludge ... shut up Jamie, I'm tired of your slagging. */ | 3799 /* This highly dubious kludge ... shut up Jamie, I'm tired of your slagging. */ |
3801 | 3800 |
3802 /* Nonzero if handling an assertion failure. (Bumped by one each time | 3801 /* Nonzero if handling an assertion failure. (Bumped by one each time |
3803 we recursively hit such a failure.) */ | 3802 we recursively hit such a failure.) */ |
3804 static int in_assert_failed; | 3803 static int in_assert_failed; |
3894 #endif /* defined (_MSC_VER) || defined (CYGWIN) */ | 3893 #endif /* defined (_MSC_VER) || defined (CYGWIN) */ |
3895 #endif /* !defined (ASSERTIONS_DONT_ABORT) */ | 3894 #endif /* !defined (ASSERTIONS_DONT_ABORT) */ |
3896 inhibit_non_essential_conversion_operations = 0; | 3895 inhibit_non_essential_conversion_operations = 0; |
3897 in_assert_failed = 0; | 3896 in_assert_failed = 0; |
3898 } | 3897 } |
3899 #endif /* USE_ASSERTIONS */ | |
3900 | 3898 |
3901 /* -------------------------------------- */ | 3899 /* -------------------------------------- */ |
3902 /* low-memory notification */ | 3900 /* low-memory notification */ |
3903 /* -------------------------------------- */ | 3901 /* -------------------------------------- */ |
3904 | 3902 |