www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Attributes

reply "Namespace" <rswhite4 googlemail.com> writes:
Quick question about attributes:
Is it intended that after the ' ' can come any number of blanks?
Which means that ' property' is the same as '          property'?
Apr 02 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-04-02 15:40, Namespace wrote:
 Quick question about attributes:
 Is it intended that after the ' ' can come any number of blanks?
 Which means that ' property' is the same as '          property'?
Hmm, I'm not sure. I mean, " property" is not a single token, it's two. In general you can have arbitrary amount of whitespace between tokens. -- /Jacob Carlborg
Apr 02 2013
parent "Namespace" <rswhite4 googlemail.com> writes:
On Tuesday, 2 April 2013 at 14:17:19 UTC, Jacob Carlborg wrote:
 On 2013-04-02 15:40, Namespace wrote:
 Quick question about attributes:
 Is it intended that after the ' ' can come any number of 
 blanks?
 Which means that ' property' is the same as '          
 property'?
Hmm, I'm not sure. I mean, " property" is not a single token, it's two. In general you can have arbitrary amount of whitespace between tokens.
Yes all attributes consist of two tokens. But I was a bit shocked as I tried it and it worked. :D
Apr 02 2013