summaryrefslogtreecommitdiff
path: root/libguile/macros.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-04-29 21:19:23 +0200
committerAndy Wingo <wingo@pobox.com>2009-04-29 21:20:28 +0200
commit3d5f3091e100550052abc698e980b3e86cc01b65 (patch)
tree9451a97084e5cdd21a85dbb86799dc3fe586c9a6 /libguile/macros.c
parent5a0132b3375b35c69c6afb735acbaa8619237fb5 (diff)
downloadguile-3d5f3091e100550052abc698e980b3e86cc01b65.tar.gz
first-class macro representation (no bits on variables)
* libguile/macros.c (scm_macro_p): Update docs. * module/ice-9/boot-9.scm (module-define!, module-ref): Define pre-boot forms of these functions as well. I suspect module-add! can go soon. (module-lookup-keyword, module-define-keyword!) (module-undefine-keyword!) Remove these. * module/ice-9/psyntax-pp.scm: Regenerate. Notice the difference? * module/ice-9/psyntax.scm (put-global-definition-hook) (get-global-definition-hook): Rework to expect first-class macros. Heh heh. (remove-global-definition-hook): Pleasantly, this hook can go away. (chi-install-global): Terrorism to generate the right kind of output -- will clean up. (chi-top): Unify definition handling for all kinds of values.
Diffstat (limited to 'libguile/macros.c')
-rw-r--r--libguile/macros.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/macros.c b/libguile/macros.c
index 535f3e050..ca3e83e29 100644
--- a/libguile/macros.c
+++ b/libguile/macros.c
@@ -224,8 +224,8 @@ SCM_DEFINE (scm_make_extended_syncase_macro, "make-extended-syncase-macro", 3, 0
SCM_DEFINE (scm_macro_p, "macro?", 1, 0, 0,
(SCM obj),
- "Return @code{#t} if @var{obj} is a regular macro, a memoizing macro or a\n"
- "syntax transformer.")
+ "Return @code{#t} if @var{obj} is a regular macro, a memoizing macro, a\n"
+ "syntax transformer, or a syntax-case macro.")
#define FUNC_NAME s_scm_macro_p
{
return scm_from_bool (SCM_SMOB_PREDICATE (scm_tc16_macro, obj));