mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Fixed failed method param parsing
This commit is contained in:
parent
e247e3ecb4
commit
dbf360e243
1 changed files with 1 additions and 0 deletions
|
@ -9399,6 +9399,7 @@ BfTokenNode* BfReducer::ParseMethodParams(BfAstNode* node, SizedArrayImpl<BfPara
|
||||||
if (initExpr == NULL)
|
if (initExpr == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
MEMBER_SET(paramDecl, mInitializer, initExpr);
|
MEMBER_SET(paramDecl, mInitializer, initExpr);
|
||||||
|
node->mSrcEnd = paramDecl->mSrcEnd;
|
||||||
auto nextNode = mVisitorPos.GetNext();
|
auto nextNode = mVisitorPos.GetNext();
|
||||||
tokenNode = BfNodeDynCast<BfTokenNode>(nextNode);
|
tokenNode = BfNodeDynCast<BfTokenNode>(nextNode);
|
||||||
if (tokenNode == NULL)
|
if (tokenNode == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue