digitalmars.D.bugs - [declaration] empty declaration makes illegal decl valid
- Manfred Nowak <svv1999 hotmail.com> May 09 2005
empty declaration makes illegal declaration valid:
<code>
void main(){
delegate void ();; \\ note the doubled semicolon
}
</code>
Without the doubled semicolon this code is not accepted.
-manfred
May 09 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Manfred Nowak schrieb am Mon, 9 May 2005 11:44:49 +0000 (UTC):empty declaration makes illegal declaration valid: <code> void main(){ delegate void ();; \\ note the doubled semicolon } </code> Without the doubled semicolon this code is not accepted.
Added to DStress as http://dstress.kuehne.cn/nocompile/d/delegate_14_A.d http://dstress.kuehne.cn/nocompile/d/delegate_14_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCgr0/3w+/yD4P9tIRAm+gAJ9vlvzZX3k8wBuaySgXK28EN65dOgCdHSXr tinwl+2TDSixY2l5qn4RK5g= =wdQp -----END PGP SIGNATURE-----
May 11 2005








Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn>