mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Allow anonymous 'using' fields
This commit is contained in:
parent
613f9c743a
commit
854122cb46
9 changed files with 323 additions and 256 deletions
|
@ -1202,6 +1202,10 @@ void BfDefBuilder::Visit(BfFieldDeclaration* fieldDeclaration)
|
|||
else
|
||||
fieldDef->mUsingProtection = fieldDef->mProtection;
|
||||
}
|
||||
else if (fieldDeclaration->mNameNode == NULL)
|
||||
{
|
||||
fieldDef->mUsingProtection = fieldDef->mProtection;
|
||||
}
|
||||
|
||||
fieldDef->mIsStatic = (fieldDeclaration->mStaticSpecifier != NULL) || fieldDef->mIsConst;
|
||||
fieldDef->mIsVolatile = (fieldDeclaration->mVolatileSpecifier != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue