diff options
author | Marius Vollmer <mvo@zagadka.de> | 2001-07-25 22:01:27 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2001-07-25 22:01:27 +0000 |
commit | a130e9829bce7819b9f235fe2e56d303a6839eeb (patch) | |
tree | 7ec3371ea13740513ef6b450e2272ec0a3238e2a | |
parent | f5fe6c2f7e084e2cc756573fe782d5f9ee826175 (diff) | |
download | guile-a130e9829bce7819b9f235fe2e56d303a6839eeb.tar.gz |
(scm_ceval, scm_deval): Use "RETURN" macro when returning value of a
variable, not the plain "return" statement.
-rw-r--r-- | libguile/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/eval.c b/libguile/eval.c index a4904d071..1978b2632 100644 --- a/libguile/eval.c +++ b/libguile/eval.c @@ -2560,7 +2560,7 @@ dispatch: RETURN (x); case scm_tc7_variable: - return SCM_VARIABLE_REF(x); + RETURN (SCM_VARIABLE_REF(x)); #ifdef MEMOIZE_LOCALS case SCM_BIT8(SCM_ILOC00): |