Internals: Tree dump DEFAULT pattern. No functional change.

This commit is contained in:
Wilson Snyder
2020-11-07 11:56:24 -05:00
parent 602750b1ee
commit ff5465308b
3 changed files with 8 additions and 3 deletions
+4
View File
@@ -1373,6 +1373,10 @@ void AstPackageImport::dump(std::ostream& str) const {
this->AstNode::dump(str);
str << " -> " << packagep();
}
void AstPatMember::dump(std::ostream& str) const {
this->AstNode::dump(str);
if (isDefault()) str << " [DEFAULT]";
}
void AstNodeTriop::dump(std::ostream& str) const { this->AstNodeMath::dump(str); }
void AstSel::dump(std::ostream& str) const {
this->AstNodeTriop::dump(str);