Slight change in Occurrence::getCompactString() formatting.

* Change: In Occurrence::getCompactString(), when the path is void,
    still display a double colon (::) instead of just one so we know
    for sure that the it is void.
This commit is contained in:
Jean-Paul Chaput 2023-06-16 13:33:50 +02:00
parent 46c685a7f8
commit 5233d860f4
1 changed files with 2 additions and 1 deletions

View File

@ -289,7 +289,8 @@ string Occurrence::getCompactString() const
if (_entity) {
s += getString(getOwnerCell()->getName());
s += ":";
if (_sharedPath) s += getString(_sharedPath->getName()) + ":";
if (_sharedPath) s += getString(_sharedPath->getName());
s += ":";
Instance* instance = dynamic_cast<Instance*>(_entity);
if (instance) {
s += "I."+getString(instance->getName());