Ehh, not handleing syntax nodes is to common to make it an error right now

This commit is contained in:
Nathan Braswell
2015-03-14 02:50:18 -04:00
parent 7a865b82e9
commit 50cd9969b6

View File

@@ -692,7 +692,7 @@ NodeTree<ASTData>* ASTTransformation::transform(NodeTree<Symbol>* from, NodeTree
throw "Ambigious parse!"; throw "Ambigious parse!";
} else { } else {
// Should get rid of this eventually. Right now it handles cases like sign, alpha, a comma, etc // Should get rid of this eventually. Right now it handles cases like sign, alpha, a comma, etc
std::cerr << "Unhandled syntax node: " << name << std::endl; std::cout << "Unhandled syntax node: " << name << std::endl;
return new NodeTree<ASTData>(); return new NodeTree<ASTData>();
} }