* libguile/eval.c (s_mixed_body_forms): New static identifier.
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 15 Nov 2003 12:27:54 +0000 (12:27 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 15 Nov 2003 12:27:54 +0000 (12:27 +0000)
commitc86c440b17cc85d57015b63802d7e10c60c5deaa
treefec723fc77c8e542ee7e952e870415f689f2128e
parentc3d948015a1cc7fc633d3a28d62507d5be169e0a
* libguile/eval.c (s_mixed_body_forms): New static identifier.

(canonicalize_define, scm_m_define): The check for a bad
expression is performed in canonicalize_define now.

(try_macro_lookup, expand_user_macros, is_system_macro_p): New
static helper functions for m_expand_body.

(m_expand_body): Use ASSERT_SYNTAX to signal syntax errors.  Only
expand user defined macros.  Fixed handling of the definition/
expression boundary.  Fixed handling of definitions grouped with
'begin.  Use canonicalize_define to expand definitions.

* test-suite/tests/syntax.test: Tests that check for the correct
handling of internal defines with begin work now.
libguile/ChangeLog
libguile/eval.c
test-suite/ChangeLog
test-suite/tests/syntax.test