mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Fixed delegate bind parsing ending in >>
This commit is contained in:
parent
a825b392ea
commit
34c444767d
1 changed files with 1 additions and 1 deletions
|
@ -2495,7 +2495,7 @@ BfExpression* BfReducer::CreateExpression(BfAstNode* node, CreateExprFlags creat
|
||||||
if (auto prevToken = BfNodeDynCast<BfTokenNode>(prevNode))
|
if (auto prevToken = BfNodeDynCast<BfTokenNode>(prevNode))
|
||||||
{
|
{
|
||||||
// This handles such as "dlg = stack => obj.method<int>;"
|
// This handles such as "dlg = stack => obj.method<int>;"
|
||||||
if (prevToken->GetToken() == BfToken_RChevron)
|
if ((prevToken->GetToken() == BfToken_RChevron) || (prevToken->GetToken() == BfToken_RDblChevron))
|
||||||
hadEndingToken = true;
|
hadEndingToken = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue