mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
ast shadowvar cleanup
This commit is contained in:
parent
fe3cd40d1e
commit
7d889a9a56
2 changed files with 6 additions and 6 deletions
|
|
@ -140,7 +140,7 @@ void StmtNode::addBreakLine(CodeStream &code)
|
|||
|
||||
StmtNode::StmtNode()
|
||||
{
|
||||
next = NULL;
|
||||
mNext = NULL;
|
||||
dbgFileName = CodeBlock::smCurrentParser->getCurrentFile();
|
||||
}
|
||||
|
||||
|
|
@ -151,9 +151,9 @@ void StmtNode::setPackage(StringTableEntry)
|
|||
void StmtNode::append(StmtNode *next)
|
||||
{
|
||||
StmtNode *walk = this;
|
||||
while (walk->next)
|
||||
walk = walk->next;
|
||||
walk->next = next;
|
||||
while (walk->mNext)
|
||||
walk = walk->mNext;
|
||||
walk->mNext = next;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue