mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Improved autocomplete with string interpolation
This commit is contained in:
parent
e8a8985734
commit
454ed279dc
2 changed files with 64 additions and 17 deletions
|
@ -3895,8 +3895,11 @@ void BfExprEvaluator::Visit(BfStringInterpolationExpression* stringInterpolation
|
|||
BfTokenNode* newToken = NULL;
|
||||
BfAllocTarget allocTarget;
|
||||
ResolveAllocTarget(allocTarget, stringInterpolationExpression->mAllocNode, newToken);
|
||||
|
||||
CreateObject(NULL, stringInterpolationExpression->mAllocNode, stringType);
|
||||
//
|
||||
{
|
||||
SetAndRestoreValue<BfEvalExprFlags> prevFlags(mBfEvalExprFlags, (BfEvalExprFlags)(mBfEvalExprFlags | BfEvalExprFlags_NoAutoComplete));
|
||||
CreateObject(NULL, stringInterpolationExpression->mAllocNode, stringType);
|
||||
}
|
||||
BfTypedValue newString = mResult;
|
||||
BF_ASSERT(newString);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue