Ehh, not handleing syntax nodes is to common to make it an error right now
This commit is contained in:
@@ -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>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user