More AST stuff. Now supports boolean stuff

This commit is contained in:
Nathan Braswell
2013-11-07 22:19:33 -05:00
parent 1117fdf0cb
commit d38fd32323
4 changed files with 44 additions and 16 deletions

View File

@@ -121,6 +121,8 @@ int main(int argc, char* argv[]) {
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol(";", true)));
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol("{", true)));
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol("}", true)));
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol("(", true)));
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol(")", true)));
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol("import", true))); //Don't need the actual text of the symbol
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol("interpreter_directive", false)));
preASTTransforms.push_back(new RemovalTransformation<Symbol>(Symbol("if", true)));