Unnecessary leading dot in alias
Closed this issue · 0 comments
jacob-carlborg commented
The following C code:
enum
{
Foo
};
#define Bar Foo
Is translated to:
extern (C):
enum
{
Foo = 0
}
enum Bar = .Foo;
The leading dot (.Foo
) is not necessary for enum members part of anonymous enums.