mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Added overflow operators &+, &-, &*
This commit is contained in:
parent
8d2b222c1a
commit
d475d3641f
7 changed files with 151 additions and 25 deletions
|
@ -1549,6 +1549,21 @@ void BfParser::NextToken(int endIdx, bool outerIsInterpolate)
|
|||
mToken = BfToken_AndEquals;
|
||||
mTokenEnd = ++mSrcIdx;
|
||||
}
|
||||
else if (mSrc[mSrcIdx] == '+')
|
||||
{
|
||||
mToken = BfToken_AndPlus;
|
||||
mTokenEnd = ++mSrcIdx;
|
||||
}
|
||||
else if (mSrc[mSrcIdx] == '-')
|
||||
{
|
||||
mToken = BfToken_AndMinus;
|
||||
mTokenEnd = ++mSrcIdx;
|
||||
}
|
||||
else if (mSrc[mSrcIdx] == '*')
|
||||
{
|
||||
mToken = BfToken_AndStar;
|
||||
mTokenEnd = ++mSrcIdx;
|
||||
}
|
||||
else
|
||||
mToken = BfToken_Ampersand;
|
||||
mSyntaxToken = BfSyntaxToken_Token;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue