* * eval.c (macro?, macro-type, macro-name, macro-transfomer): New
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Wed, 10 Sep 1997 20:05:28 +0000 (20:05 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Wed, 10 Sep 1997 20:05:28 +0000 (20:05 +0000)
commit7332df664494f9a206b2460524f95e8dffe240a4
tree86d87b07daa396ccd0425aacfe25cbc2031a49e5
parent87688f5f1282080e4fff755c4ba544f19ed418fb
* * eval.c (macro?, macro-type, macro-name, macro-transfomer): New
procedures;
(prinmacro): Removed.  The code has been moved/merged into print.c
in order to decrease code redundancy.  We want macros to print in
a way equivalent to procedures, and it would be silly to duplicate
the required code.  (We don't want to maintain two places.)
(macrosmob): Print field is now a NULL pointer.

* eval.h (scm_macro_p, scm_macro_type, scm_macro_name,
scm_macro_transformer): New prototypes.
(scm_tc16_macro): Declared.

* * print.c (scm_iprin1): Added code for printing of macros.  Macros
are now printed in a way equivalent to procedures.
libguile/ChangeLog
libguile/eval.c
libguile/eval.h
libguile/print.c