remove mmacros, SCM_SYNTAX snarf macro
authorAndy Wingo <wingo@pobox.com>
Tue, 5 Jan 2010 10:05:12 +0000 (11:05 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 5 Jan 2010 10:47:16 +0000 (11:47 +0100)
commitbab980466108c6c22d2c820213d07b3d1b18c48e
tree20859c7554369de0711c23733c4da062484eda91
parent9f09b127d447991bd749235f78516700a20c7dff
remove mmacros, SCM_SYNTAX snarf macro

* libguile/snarf.h (SCM_SYNTAX): Remove snarf macro, users can't define
  primitive syntax any more.

* libguile/memoize.c (SCM_SYNTAX): Define locally, and just call
  scm_i_makbimacro as there's no difference between that and
  scm_makmmacro. Alter invocations to suit.

* libguile/macros.h:
* libguile/macros.c (scm_i_makmmacro): Remove; users can't define
  primitive syntax any more. Use define-syntax instead.
  (scm_make_synt): Remove, this was only used by the SCM_SYNTAX snarf
  macro.
  (scm_i_makbimacro): Change prototype of this internal function to make
  the gsubr on behalf of the caller.
  (macro_print, scm_macro_type): Remove cases for mmacros.
libguile/macros.c
libguile/macros.h
libguile/memoize.c
libguile/snarf.h