* libguile/eval.c (s_bad_formals, s_bad_formal, s_duplicate_formal):
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sun, 12 Oct 2003 20:47:32 +0000 (20:47 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sun, 12 Oct 2003 20:47:32 +0000 (20:47 +0000)
commit03a3e94134a300651f3f06db4cf83b3d3a11ce60
treeffad301e710a44cbdbacd1869e9dade7d323e98a
parente2de682cf8e6500782201f7db1c7b6edf9ed6a75
* libguile/eval.c (s_bad_formals, s_bad_formal, s_duplicate_formal):
        New static identifiers.

(s_clauses, s_formals, s_duplicate_formals): Removed.

(scm_m_lambda): Use ASSERT_SYNTAX to signal syntax errors.  Be more
specific about the kind of error that was detected.  Prepare for
easier integration of changes for separated memoization.

* test-suite/tests/syntax.test (define exception:bad-formal, define
exception:duplicate-formal): New.

(exception:duplicate-formals): Removed.

(exception:bad-formals): Adapted to the new way of error
reporting.

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