[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #192: Only the last clause in COND may be an ELSE
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #192: Only the last clause in COND may be an ELSE clause |
Date: |
Sun, 04 Apr 2010 21:03:36 -0000 |
#192: Only the last clause in COND may be an ELSE clause
----------------------+-----------------------------------------------------
Reporter: zbigniew | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.5.0
Component: compiler | Version:
Keywords: |
----------------------+-----------------------------------------------------
Comment(by felix):
I think multiple `else` clauses should be allowed which makes it easier to
provide default clauses in macros that expand to `cond` or `case`. But I
have added checks in `cond`, `case`, and `select` that will issue a
warning when a non-else clause follows an else-clause and all clauses are
checked for being syntactically correct (formerly the clauses after the
first `else` were just dropped). Perhaps that is an acceptable compromise.
If yes, please close the ticket.
See commit b9d091df90f6092573eaf36c22436daa7ef2085f (experimental)
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/192#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] Re: #192: Only the last clause in COND may be an ELSE clause,
Chicken Trac <=