mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added support for attributes on enum case members
This commit is contained in:
parent
330eb037e8
commit
6cb13900b0
3 changed files with 56 additions and 10 deletions
|
@ -1087,8 +1087,11 @@ void BfDefBuilder::Visit(BfFieldDeclaration* fieldDeclaration)
|
|||
}
|
||||
|
||||
void BfDefBuilder::Visit(BfEnumCaseDeclaration* enumCaseDeclaration)
|
||||
{
|
||||
if (!WantsNode(enumCaseDeclaration, enumCaseDeclaration->mCaseToken, 0))
|
||||
{
|
||||
// Using `enumCaseDeclaration->mCaseToken` breaks attribute autocompletion
|
||||
//if (!WantsNode(enumCaseDeclaration, enumCaseDeclaration->mCaseToken, 0))
|
||||
|
||||
if (!WantsNode(enumCaseDeclaration))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue