diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-29 16:15:38 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-29 16:15:38 -0600 |
commit | 7b0774752e8f163f4861bb338172fcdcd60cee36 (patch) | |
tree | a046274bb354517635b09820a59b44fe11d8e1c0 /src/ast/node.cpp | |
parent | 3c890c8bd87c91fd607975ed62977f3e5f93b0fa (diff) | |
download | chill-7b0774752e8f163f4861bb338172fcdcd60cee36.tar.gz chill-7b0774752e8f163f4861bb338172fcdcd60cee36.tar.bz2 chill-7b0774752e8f163f4861bb338172fcdcd60cee36.zip |
changes for recusing
Diffstat (limited to 'src/ast/node.cpp')
-rw-r--r-- | src/ast/node.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ast/node.cpp b/src/ast/node.cpp index 1b1995c..7af48f1 100644 --- a/src/ast/node.cpp +++ b/src/ast/node.cpp @@ -7,20 +7,8 @@ #include "printer/cfamily.h" #include <stack> -void chillAST_Node::fixChildInfo(std::stack<chillAST_TypedefTable *> &tdt, std::stack<chillAST_SymbolTable *> &st, - chillAST_SourceFile *s) { - -} - void chillAST_Node::fixChildInfo() {} -void chillAST_Node::mergeChildInfo(chillAST_Node) { - // TODO if (par) par->add to definition for vardecl/typedecl - // TODO if (par) par->getSourceFile()->addFunc(this); for FuncDecl - // TODO if (par) par->getSourceFile()->addMacro(this); For MacroDecl - // TODO if (parent) parent->addVariableToSymbolTable(this); // should percolate up until something has a symbol table -} - void chillAST_Node::addChild(chillAST_Node *c) { c->parent = this; // check to see if it's already there |