<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 13 December 2013 15:39, Daniel Murphy <span dir="ltr"><<a href="mailto:yebblies@nospamgmail.com" target="_blank">yebblies@nospamgmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">"Manu" <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote in message<br>
news:mailman.513.1386905921.3242.digitalmars-d@puremagic.com...<br>
<div class="im">><br>
> Which appears basically everywhere an asm block does. 'asm' could<br>
> optionally receive an architecture as argument, and lower to the version<br>
> wrapper:<br>
><br>
> asm(x86)<br>
> {<br>
> ...<br>
> }<br>
> else asm(ARM)<br>
> {<br>
> ...<br>
> }<br>
><br>
> (The 'else's in those examples seem unnecessary)<br>
><br>
<br>
</div>meh<br>
<br>
version(x86) asm<br>
{<br>
}<br>
else version(ARM) asm<br>
{<br>
}<br>
else<br>
...<br></blockquote><div><br></div><div>Haha, okay. Good point.</div><div>I never think of version statements like that for some reason.</div><div>Mental throwback to #define perhaps, which requires it's own line >_<</div>
</div></div></div>