Improve fix for macroexp crash with debugging.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Aug 2012 20:55:27 +0000 (13:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Aug 2012 20:55:27 +0000 (13:55 -0700)
commit8834c57aab03fb7ea9d92f9e995844ff7ce64b7b
treebfc986a2271505769d2daaaaacdd57891477c624
parentef834897aaf3259cbf1b7286fe237fb39b2cdf6d
Improve fix for macroexp crash with debugging.

* lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to
ARRAY_MARK_FLAG when checking subscripts, because ASET is
not supposed to be invoked from the garbage collector.
See Andreas Schwab in <http://bugs.gnu.org/12118#25>.
(gc_aset): New function, which is like ASET but can be
used in the garbage collector.
(set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
(set_hash_index): Use it instead of ASET.
src/ChangeLog
src/lisp.h