guile-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile/guile-core libguile/ChangeLog libguile/ev...


From: Dirk Herrmann
Subject: guile/guile-core libguile/ChangeLog libguile/ev...
Date: Sat, 11 Oct 2003 06:40:20 -0400

CVSROOT:        /cvsroot/guile
Module name:    guile
Branch:         
Changes by:     Dirk Herrmann <address@hidden>  03/10/11 06:40:20

Modified files:
        guile-core/libguile: ChangeLog eval.c 
        guile-core/test-suite: ChangeLog 
        guile-core/test-suite/tests: syntax.test 

Log message:
        * libguile/eval.c (s_extra_expression, s_misplaced_else_clause,
        s_bad_cond_clause, s_missing_recipient): New static identifiers.
        
        (s_extra_case_clause): Removed.
        
        (scm_m_case, scm_m_cond): If a clause appears after an else
        clause, report a misplaced else clause.
        
        (scm_m_cond): Use ASSERT_SYNTAX to signal syntax errors.  Be more
        specific about the kind of error that was detected.  Handle bound
        'else and '=>.  Avoid unnecessary consing when creating the
        memoized code.
        
        (scm_m_cond, unmemocopy, SCM_CEVAL): Use SCM_IM_ELSE to memoize
        the syntactic keyword 'else and SCM_IM_ARROW to memoize the
        syntactic keyword '=>.
        
        * test-suite/tests/syntax.test (exception:misplaced-else-clause,
        exception:bad-cond-clause): New.
        
        (exception:bad/missing-clauses, exception:extra-case-clause):
        Removed.
        
        Adapted tests for 'case' and 'cond' to the new way of error
        reporting.
        
        The tests that check if cond is hygienic pass now.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile/guile-core/libguile/ChangeLog.diff?tr1=1.1942&tr2=1.1943&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile/guile-core/libguile/eval.c.diff?tr1=1.322&tr2=1.323&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile/guile-core/test-suite/ChangeLog.diff?tr1=1.192&tr2=1.193&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile/guile-core/test-suite/tests/syntax.test.diff?tr1=1.17&tr2=1.18&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]