mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Added support for global:: lookups
This commit is contained in:
parent
ee50457885
commit
958a1630aa
13 changed files with 202 additions and 28 deletions
|
@ -16568,7 +16568,7 @@ BfScopeData* BfModule::FindScope(BfAstNode* scopeName, BfMixinState* fromMixinSt
|
|||
|
||||
if (auto tokenNode = BfNodeDynCast<BfTokenNode>(scopeName))
|
||||
{
|
||||
if (tokenNode->GetToken() == BfToken_Colon)
|
||||
if ((tokenNode->GetToken() == BfToken_Colon) || (tokenNode->GetToken() == BfToken_ColonColon))
|
||||
{
|
||||
if ((!allowAcrossDeferredBlock) && (mCurMethodState->mInDeferredBlock))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue