some cleanup

This commit is contained in:
Nathan Braswell
2017-10-29 17:53:30 -04:00
parent 0132ade7ed
commit 5b8ef4ce2e
3 changed files with 55 additions and 230 deletions

View File

@@ -38,14 +38,6 @@ adt ast_node {
cast: cast,
value: value
}
/*
total:
ASTType type;
Type* valueType;
Symbol symbol;
std::map<std::string, std::vector<NodeTree<ASTData>*>> scope;
std::set<NodeTree<ASTData>*> closedVariables;
*/
fun ast_node_ptr(node: ast_node): *ast_node {
var to_ret = new<ast_node>()
to_ret->copy_construct(&node)