Clang import; Ensure Function::arg is set
This commit is contained in:
parent
e1543587e0
commit
0747bc7ba3
|
@ -1094,7 +1094,7 @@ void clangimport::AstNode::createTokensFunctionDecl(TokenList *tokenList)
|
|||
}
|
||||
|
||||
Token *par1 = addtoken(tokenList, "(");
|
||||
if (!prev)
|
||||
if (!function->arg)
|
||||
function->arg = par1;
|
||||
function->token = nameToken;
|
||||
// Function arguments
|
||||
|
|
Loading…
Reference in New Issue