Well it's not obvious what you're trying to _[achieve](https://forum.nim-lang.org/postActivity.xml#achieve) I guess is a better phrasing. I can see that you're trying to add some information to an enum, which as you discovered isn't a thing you can do. The examples provided by me and @Calonger shows you how you can tie more information to enum values than what the regular int and string options they come with.
- custom pragmas are not supported for enum fields icedquinn
- custom pragmas are not supported for enum fields PMunch
- custom pragmas are not supported for enum fields Calonger
- custom pragmas are not supported for enum fields icedquinn
- custom pragmas are not supported for enum field... PMunch