Support package export, bug1217.

This commit is contained in:
Wilson Snyder
2017-09-20 21:04:59 -04:00
parent 331fcb633e
commit 89c8449ec0
10 changed files with 179 additions and 30 deletions
+4
View File
@@ -891,6 +891,10 @@ void AstNodeModule::dump(ostream& str) {
if (inLibrary()) str<<" [LIB]";
if (dead()) str<<" [DEAD]";
}
void AstPackageExport::dump(ostream& str) {
this->AstNode::dump(str);
str<<" -> "<<packagep();
}
void AstPackageImport::dump(ostream& str) {
this->AstNode::dump(str);
str<<" -> "<<packagep();