mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Improved circular mixin check, isconst(expr), [ConstSkip]
This commit is contained in:
parent
cab9b3d9c7
commit
75333a0928
19 changed files with 241 additions and 60 deletions
|
@ -3143,6 +3143,10 @@ void BfParser::NextToken(int endIdx, bool outerIsInterpolate, bool disablePrepro
|
|||
if ((!mCompatMode) && (SrcPtrHasToken("is")))
|
||||
mToken = BfToken_Is;
|
||||
break;
|
||||
case TOKEN_HASH('i', 's', 'c', 'o'):
|
||||
if ((!mCompatMode) && (SrcPtrHasToken("isconst")))
|
||||
mToken = BfToken_IsConst;
|
||||
break;
|
||||
case TOKEN_HASH('l', 'e', 't', 0):
|
||||
if ((!mCompatMode) && (SrcPtrHasToken("let")))
|
||||
mToken = BfToken_Let;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue