Improved assert messages
authorNelson Ferreira <nelson.ferreira@ieee.org>
Thu, 12 Jan 2012 03:38:35 +0000 (22:38 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Thu, 12 Jan 2012 03:38:35 +0000 (22:38 -0500)
commita6c5fd2c1bc5958be16f82d057ebe6dbee1cae18
tree678d12fb8a96161781167ced6c0c15257dc577f8
parent353005fcd48d6071c5e8d75d7ba81481ea710e80
Improved assert messages

* src/emacs.c: make the assertions_dont_abort a variable instead
of define.

* src/emacs.c (assert_failed): Make the 3rd nested assertion abort
instead of exit. Add an extra newline in the 2nd nested
assertion. Add a short backtrace of up to 32767 entries to the 2nd
nested assertion. Add a backtrace to to the 1st assert_failed.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/emacs.c