<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Dec 6, 2015 at 5:04 PM, Dmitri Gribenko via swift-dev <span dir="ltr"><<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>></span> wrote:</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
If you're looking for a starter project in the frontend area (parser<br>
in this case), here is one.<br>
<br>
<a href="https://bugs.swift.org/browse/SR-2" rel="noreferrer" target="_blank">https://bugs.swift.org/browse/SR-2</a><br>
<br>
This code should be accepted, but it is rejected now:<br>
<br>
switch 10 {<br>
case 10:<br>
break<br>
#if FOO<br>
case 20:<br>
break<br>
#endif<br>
}<br>
<br>
$ swiftc /tmp/a.swift<br>
/tmp/a.swift:5:3: error: 'case' label can only appear inside a<br>
'switch' statement<br>
case 20:<br>
^<br></blockquote><div><br></div><div style="font-size:12.8px">I will take a look at this one.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Cheers,</div><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px">-- Meador </span> </div></div>
</div></div>