Fix coredump with UVM parse, caused by recent commit.

This commit is contained in:
Wilson Snyder 2020-07-11 20:32:27 -04:00
parent ced1af8cb8
commit fdb4d3a145
2 changed files with 2 additions and 1 deletions

View File

@ -1505,7 +1505,7 @@ void AstClassOrPackageRef::dump(std::ostream& str) const {
}
void AstDot::dump(std::ostream& str) const {
this->AstNode::dump(str);
if (colon()) str << "[::]";
if (colon()) str << " [::]";
}
void AstActive::dump(std::ostream& str) const {
this->AstNode::dump(str);

View File

@ -448,6 +448,7 @@ public:
ASTNODE_NODE_FUNCS(TypedefFwd)
// METHODS
virtual string name() const { return m_name; }
virtual bool maybePointedTo() const { return true; }
};
class AstDefImplicitDType : public AstNodeDType {