Opened 12 months ago
Closed 8 months ago
#447 closed defect (fixed)
#!fold-case and #!no-fold-case have no final delimiter
| Reported by: | cowan | Owned by: | cowan |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | WG1 - Core | Keywords: | |
| Cc: |
Description
The #!fold-case and #!no-fold-case directives are read as comments, which means that they are treated as whitespace (section 2.2). Unlike the other kinds of comments, their final delimiter is implicit. This means that (1#!no-fold-cases) reads as (1 s). This seems unfortunate.
Current proposals:
- Add the formal syntax <lexical-directive> --> #! <identifier> and then make the interpretation of <identifier> implementation-dependent, except for the standard cases #!fold-case and #!no-fold-case. (Per Bothner, Richard Kelsey)
- Followed by whitespace (John Cowan)
Change History (3)
comment:1 Changed 10 months ago by cowan
- Status changed from new to decided
comment:2 Changed 10 months ago by cowan
- Owner changed from alexshinn to cowan
- Status changed from decided to writing
comment:3 Changed 8 months ago by cowan
- Resolution set to fixed
- Status changed from writing to closed
We went with "followed by a delimiter". Formal syntax is not yet fixed: see #476.
Note: See
TracTickets for help on using
tickets.

WG1 voted that the delimiter for #!(no-)fold-case is whitespace.