* procprop.h: Added declaration of scm_i_inner_name.
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 11 Sep 1997 00:09:57 +0000 (00:09 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 11 Sep 1997 00:09:57 +0000 (00:09 +0000)
commit80ea260cdf5ff69b5c9c3a681204bbef63963d54
treec197776b7ee1b21800f51ed858482c72092d583b
parent2c6300009875da1b834a0007715a08c47f8bf45d
* procprop.h: Added declaration of scm_i_inner_name.

* gsubr.c: New global symbol scm_i_inner_name.

* debug.c (scm_procedure_name): Try procedure property
`inner-name' if `name' fails.

* print.c (scm_iprin1): Use scm_macro_name.

* eval.c (scm_m_define): Give names to macros as well; Only the
first top-level definition gives a procedure/macro a name.
Otherwise confusing names can turn up in backtraces.
(SCM_CEVAL): SCM_IM_DEFINE: Set `inner-name' property instead of
`name'; Give names to macros as well.

* procs.c (scm_closure_p), print.c (scm_iprin1), eval.c
(scm_macro_transformer): Use SCM_CLOSUREP instead of
scm_closure_p.
libguile/ChangeLog
libguile/debug.c
libguile/eval.c
libguile/gsubr.c
libguile/print.c
libguile/procprop.h
libguile/procs.c