1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Added '->' operator, static indexer fix, RefCounted<T>

This commit is contained in:
Brian Fiete 2022-06-22 08:35:25 -07:00
parent dd7986aaa9
commit abd511a93d
14 changed files with 302 additions and 20 deletions

View file

@ -2556,9 +2556,12 @@ void BfParser::NextToken(int endIdx, bool outerIsInterpolate, bool disablePrepro
mToken = BfToken_MinusEquals;
mSrcIdx++;
}
else if ((mCompatMode) && (mSrc[mSrcIdx] == '>'))
else if (mSrc[mSrcIdx] == '>')
{
mToken = BfToken_Dot;
if (mCompatMode)
mToken = BfToken_Dot;
else
mToken = BfToken_Arrow;
mSrcIdx++;
}
else