May 09, 2005 [declaration] empty declaration makes illegal decl valid | ||||
---|---|---|---|---|
| ||||
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 12, 2005 Re: [declaration] empty declaration makes illegal decl valid | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | -----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----- |
Copyright © 1999-2021 by the D Language Foundation