On 11/6/2012 5:57 AM, Jacob Carlborg wrote:
But I would still like to somehow be able to name an
attribute. If one just need to mark a symbol, i.e.

@test void foo () {}

Then one either have to use a string literal or something like a dummy
variable/type.

["test"] void foo () {}

Which does exactly what you ask for.


enum test = "test";

[test] void foo () {}

or:

   enum EEE;
   [EEE] void foo() { }

Reply via email to