Insert TS function var names in the precompile step, allowing unreferenced parameters to be used

This commit is contained in:
James Urquhart 2014-05-21 12:27:40 +01:00
parent 1702573b78
commit b991adb033

View file

@ -1831,7 +1831,10 @@ U32 FunctionDeclStmtNode::precompileStmt(U32)
argc = 0;
for(VarNode *walk = args; walk; walk = (VarNode *)((StmtNode*)walk)->getNext())
{
precompileIdent(walk->varName);
argc++;
}
CodeBlock::smInFunction = true;