* libguile/eval.c (s_missing_body_expression): New static identifier.
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 8 Nov 2003 08:11:14 +0000 (08:11 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 8 Nov 2003 08:11:14 +0000 (08:11 +0000)
commitced8edb0f9545e7e37ec62cf7ab6c0c1c66fe1db
tree4aca6e37b765f5e260f08e5b4ff1646bd65937f5
parenta5fda890f5b9eb07240355924ccaf78ba842bcaf
* libguile/eval.c (s_missing_body_expression): New static identifier.

(s_body): Removed.

(scm_m_expand_body): Fixed core dump when passing a body with
defines, but without expressions (see additions to syntax.test).
Use ASSERT_SYNTAX to signal syntax errors.

* test-suite/tests/syntax.test (exception:missing-body-expr): New.

Renamed section 'define' to 'top-level define' and added a new
section 'internal define' with some tests.
libguile/ChangeLog
libguile/eval.c
test-suite/ChangeLog
test-suite/tests/syntax.test