mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +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
|
@ -2630,6 +2630,13 @@ void BfParser::NextToken(int endIdx, bool outerIsInterpolate, bool disablePrepro
|
|||
mToken = BfToken_Dot;
|
||||
mSyntaxToken = BfSyntaxToken_Token;
|
||||
}
|
||||
else if (mSrc[mSrcIdx] == ':')
|
||||
{
|
||||
mSrcIdx++;
|
||||
mTokenEnd = mSrcIdx;
|
||||
mToken = BfToken_ColonColon;
|
||||
mSyntaxToken = BfSyntaxToken_Token;
|
||||
}
|
||||
else
|
||||
{
|
||||
mToken = BfToken_Colon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue