Internals: Rename packagep(). No functional change.

This commit is contained in:
Wilson Snyder
2020-11-24 21:56:03 -05:00
parent b0cb43b2f2
commit e1c45440fc
14 changed files with 126 additions and 123 deletions
+2 -2
View File
@@ -1528,7 +1528,7 @@ void AstVarScope::dump(std::ostream& str) const {
}
void AstNodeVarRef::dump(std::ostream& str) const {
this->AstNodeMath::dump(str);
if (packagep()) str << " pkg=" << nodeAddr(packagep());
if (classOrPackagep()) str << " pkg=" << nodeAddr(classOrPackagep());
str << " " << access().arrow() << " ";
}
void AstVarXRef::dump(std::ostream& str) const {
@@ -1620,7 +1620,7 @@ void AstActive::dump(std::ostream& str) const {
}
void AstNodeFTaskRef::dump(std::ostream& str) const {
this->AstNodeStmt::dump(str);
if (packagep()) { str << " pkg=" << nodeAddr(packagep()); }
if (classOrPackagep()) str << " pkg=" << nodeAddr(classOrPackagep());
str << " -> ";
if (dotted() != "") { str << ".=" << dotted() << " "; }
if (taskp()) {