mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 12:13:46 +00:00
Insert TS function var names in the precompile step, allowing unreferenced parameters to be used
This commit is contained in:
parent
1702573b78
commit
b991adb033
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue