* eval.c (scm_ceval, scm_deval): use `SIDEVAL' instead of
authorMarius Vollmer <mvo@zagadka.de>
Tue, 13 Feb 2001 01:09:00 +0000 (01:09 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Tue, 13 Feb 2001 01:09:00 +0000 (01:09 +0000)
SCM_CEVAL when evaluating subforms of `begin' forms.  SCM_CEVAL
can not deal with immediates.

libguile/eval.c

index 06d2af0..3b0e884 100644 (file)
@@ -1912,7 +1912,7 @@ dispatch:
          while (SCM_NNULLP (t.arg1 = SCM_CDR (t.arg1)))
            {
              SCM_SETCAR (env, scm_current_module_lookup_closure ());
-             SCM_CEVAL (SCM_CAR (x), env);
+             SIDEVAL (SCM_CAR(x), env);
              x = t.arg1;
            }
          /* once more, for the last form */