mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 03:54:12 +02:00
* eval.c (SCM_CEVAL), macros.c (macro_print, scm_makmacro,
scm_sym_macro, scm_macro_type), macros.h (scm_makmacro): Deprecated the special kind of built-in dynamic syntax transformer that was inaccurately named "macro". Note: The built-in syntax transformers that are named "mmacro" or "memoizing-macro" still exist, and it is these which come much closer to what one would call a macro.
This commit is contained in:
parent
4c5f8e8fe0
commit
3063e30a6d
5 changed files with 47 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
#ifndef SCM_MACROS_H
|
||||
#define SCM_MACROS_H
|
||||
|
||||
/* Copyright (C) 1998,2000,2001 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1998,2000,2001,2002 Free Software Foundation, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -60,7 +60,6 @@
|
|||
SCM_API scm_t_bits scm_tc16_macro;
|
||||
|
||||
SCM_API SCM scm_makacro (SCM code);
|
||||
SCM_API SCM scm_makmacro (SCM code);
|
||||
SCM_API SCM scm_makmmacro (SCM code);
|
||||
SCM_API SCM scm_macro_p (SCM obj);
|
||||
SCM_API SCM scm_macro_type (SCM m);
|
||||
|
@ -71,6 +70,10 @@ SCM_API SCM scm_make_synt (const char *name,
|
|||
SCM (*fcn) ());
|
||||
SCM_API void scm_init_macros (void);
|
||||
|
||||
#if SCM_ENABLE_DEPRECATED == 1
|
||||
SCM_API SCM scm_makmacro (SCM code);
|
||||
#endif
|
||||
|
||||
#endif /* SCM_MACROS_H */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue