mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
ast shadowvar cleanup
This commit is contained in:
parent
db519a3dd5
commit
e80b66464e
2 changed files with 6 additions and 6 deletions
|
|
@ -52,7 +52,7 @@ enum TypeReq
|
||||||
/// each representing a different language construct.
|
/// each representing a different language construct.
|
||||||
struct StmtNode
|
struct StmtNode
|
||||||
{
|
{
|
||||||
StmtNode *next; ///< Next entry in parse tree.
|
StmtNode *mNext; ///< Next entry in parse tree.
|
||||||
|
|
||||||
StmtNode();
|
StmtNode();
|
||||||
virtual ~StmtNode() {}
|
virtual ~StmtNode() {}
|
||||||
|
|
@ -62,7 +62,7 @@ struct StmtNode
|
||||||
|
|
||||||
///
|
///
|
||||||
void append(StmtNode *next);
|
void append(StmtNode *next);
|
||||||
StmtNode *getNext() const { return next; }
|
StmtNode *getNext() const { return mNext; }
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ void StmtNode::addBreakLine(CodeStream &code)
|
||||||
|
|
||||||
StmtNode::StmtNode()
|
StmtNode::StmtNode()
|
||||||
{
|
{
|
||||||
next = NULL;
|
mNext = NULL;
|
||||||
dbgFileName = CodeBlock::smCurrentParser->getCurrentFile();
|
dbgFileName = CodeBlock::smCurrentParser->getCurrentFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -151,9 +151,9 @@ void StmtNode::setPackage(StringTableEntry)
|
||||||
void StmtNode::append(StmtNode *next)
|
void StmtNode::append(StmtNode *next)
|
||||||
{
|
{
|
||||||
StmtNode *walk = this;
|
StmtNode *walk = this;
|
||||||
while (walk->next)
|
while (walk->mNext)
|
||||||
walk = walk->next;
|
walk = walk->mNext;
|
||||||
walk->next = next;
|
walk->mNext = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue