Editions Ideas

user1234 user1234 at 12.de
Mon Jan 12 09:53:25 UTC 2026


On Monday, 12 January 2026 at 01:50:13 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> - Single statement case, does not need a break.
> 	- ``case Foo statement;``
>
> This should work, replacing the colon with the statement.
>
> Not valid C, and shouldn't impact existing code.

Let's bikeshed... keep the colon, add the FinalCaseStatement to 
the AST:

```
FinalCaseStatement ::=  "final" "case" ":" Statement
```


More information about the Digitalmars-d mailing list