* libguile/eval.c (s_missing_expression, s_bad_variable): New static
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 11 Oct 2003 16:03:29 +0000 (16:03 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 11 Oct 2003 16:03:29 +0000 (16:03 +0000)
commitcc56ba80627e7e4061ce4d54045d62af7c85eda4
tree18b796be5359bd3bc743e3c3a65561900e0b8724
parent609a8b86ae299e8d8d1fb9c4916bafe229ab0564
* libguile/eval.c (s_missing_expression, s_bad_variable): New static
identifiers.

(scm_m_define): Use ASSERT_SYNTAX to signal syntax errors.  Prefer
R5RS terminology for the naming of variables.  Be more specific
about the kind of error that was detected.  Make sure file name,
line number etc. are added to all freshly created expressions.
Avoid unnecessary consing when creating the memoized code.

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

Adapted tests for 'begin' to the new way of error
reporting.
libguile/ChangeLog
libguile/eval.c
test-suite/ChangeLog
test-suite/tests/syntax.test