<div dir="ltr">2013/2/11 Stewart Gordon <span dir="ltr"><<a href="mailto:smjg_1998@yahoo.com" target="_blank">smjg_1998@yahoo.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><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">
<div class="im">On 10/02/2013 13:13, bearophile wrote:<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">
Now I have a good amount of code broken by:<br>
<br>
alias x = 5;<br>
alias this = foo;<br>
</blockquote>
<br></div>
Was this ever documented? How many people ever knew this syntax existed? Not me...</blockquote><div style><a name="AliasDeclaration" style="color:rgb(0,0,102);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"></a><a name="AliasDeclaration" style="color:rgb(0,0,102)"><i><br>
</i></a></div><div style><a name="AliasDeclaration" style="color:rgb(0,0,102);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"></a><a name="AliasDeclaration" style="color:rgb(0,0,102)"><i>AliasDeclaration</i></a><span style="color:rgb(31,37,43)">: </span><span class="" style="color:rgb(31,37,43)"><span class="" style="font-family:Consolas,'Bitstream Vera Sans Mono','Andale Mono',Monaco,'DejaVu Sans Mono','Lucida Console',monospace;font-weight:bold">alias</span></span><span style="color:rgb(31,37,43)"> </span><a href="http://dlang.org/declaration#BasicType" style="color:rgb(102,0,102)"><i>BasicType</i></a><span style="color:rgb(31,37,43)"> </span><a href="http://dlang.org/declaration#Declarator" style="color:rgb(102,0,102)"><i>Declarator</i></a><span style="color:rgb(31,37,43)"> </span><span class="" style="color:rgb(31,37,43)"><span class="" style="font-family:Consolas,'Bitstream Vera Sans Mono','Andale Mono',Monaco,'DejaVu Sans Mono','Lucida Console',monospace;font-weight:bold">alias</span></span><span style="color:rgb(31,37,43)"> </span><a href="http://dlang.org/declaration#AliasInitializerList" style="color:rgb(102,0,102)"><i>AliasInitializerList</i></a><i>AliasDeclaration</i><span style="color:rgb(31,37,43);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)">: </span><span class="" style="color:rgb(31,37,43);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"><span class="" style="font-family:Consolas,'Bitstream Vera Sans Mono','Andale Mono',Monaco,'DejaVu Sans Mono','Lucida Console',monospace;font-weight:bold">alias</span></span><span style="color:rgb(31,37,43);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"> </span><a href="http://dlang.org/declaration#BasicType" style="color:rgb(102,0,102);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"><i>BasicType</i></a><span style="color:rgb(31,37,43);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"> </span><a href="http://dlang.org/declaration#Declarator" style="color:rgb(102,0,102);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"><i>Declarator</i></a><span style="color:rgb(31,37,43);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"> </span><span class="" style="color:rgb(31,37,43);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"><span class="" style="font-family:Consolas,'Bitstream Vera Sans Mono','Andale Mono',Monaco,'DejaVu Sans Mono','Lucida Console',monospace;font-weight:bold">alias</span></span><span style="color:rgb(31,37,43);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"> </span><a href="http://dlang.org/declaration#AliasInitializerList" style="color:rgb(102,0,102);font-family:Verdana,'Deja Vu','Bitstream Vera Sans',sans-serif;font-size:0px;background-color:rgb(31,37,43)"><i>AliasInitializerList</i></a><a href="http://dlang.org/declaration">http://dlang.org/declaration</a><br>
<br></div><div style><div>AliasDeclaration:</div><div> alias BasicType Declarator</div><div> alias AliasInitializerList</div><div><br></div><div>AliasInitializerList:</div><div> AliasInitializer</div><div> AliasInitializer , AliasInitializerList</div>
<div><br></div><div>AliasInitializer:</div><div> Identifier = Type</div><div><br></div><div style>Kenji Hara</div></div></div></div></div>