summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-29 16:15:38 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-29 16:15:38 -0600
commit7b0774752e8f163f4861bb338172fcdcd60cee36 (patch)
treea046274bb354517635b09820a59b44fe11d8e1c0 /src
parent3c890c8bd87c91fd607975ed62977f3e5f93b0fa (diff)
downloadchill-7b0774752e8f163f4861bb338172fcdcd60cee36.tar.gz
chill-7b0774752e8f163f4861bb338172fcdcd60cee36.tar.bz2
chill-7b0774752e8f163f4861bb338172fcdcd60cee36.zip
changes for recusing
Diffstat (limited to 'src')
-rw-r--r--src/ast/node.cpp12
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