1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 01:30:27 +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:
Dirk Herrmann 2002-07-15 20:39:53 +00:00
parent 4c5f8e8fe0
commit 3063e30a6d
5 changed files with 47 additions and 6 deletions

View file

@ -2290,8 +2290,7 @@ dispatch:
SCM variable = SCM_CAR (x);
if (SCM_ILOCP (variable))
location = scm_ilookup (variable, env);
else
if (SCM_VARIABLEP (variable))
else if (SCM_VARIABLEP (variable))
location = SCM_VARIABLE_LOC (variable);
else /* (SCM_SYMBOLP (variable)) is known to be true */
location = scm_lookupcar (x, env, 1);
@ -2754,6 +2753,7 @@ dispatch:
SCM_ALLOW_INTS;
PREP_APPLY (SCM_UNDEFINED, SCM_EOL);
goto loop;
#if SCM_ENABLE_DEPRECATED == 1
case 1:
x = arg1;
if (SCM_NIMP (x))
@ -2763,6 +2763,7 @@ dispatch:
}
else
RETURN (arg1);
#endif
case 0:
RETURN (arg1);
}