aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/formatting
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-12-26 10:49:23 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-12-26 10:49:23 +0100
commitfd6fc2a7d5f577802fd4622501af4d871536fc41 (patch)
treea7fa9e96fd3bb233ddacdb55cdb81d81cccb9bec /pyGHDL/dom/formatting
parent283418269b3f5e351415dc6e8946437a1781941c (diff)
downloadghdl-fd6fc2a7d5f577802fd4622501af4d871536fc41.tar.gz
ghdl-fd6fc2a7d5f577802fd4622501af4d871536fc41.tar.bz2
ghdl-fd6fc2a7d5f577802fd4622501af4d871536fc41.zip
More adjustments to new symbols.
Diffstat (limited to 'pyGHDL/dom/formatting')
-rw-r--r--pyGHDL/dom/formatting/prettyprint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py
index 7c99e1d87..29751b507 100644
--- a/pyGHDL/dom/formatting/prettyprint.py
+++ b/pyGHDL/dom/formatting/prettyprint.py
@@ -236,7 +236,7 @@ class PrettyPrint:
f"{prefix} Position: {architecture.Position.Line}:{architecture.Position.Column}\n"
f"{prefix} Documentation: {documentationFirstLine}"
)
- buffer.append(f"{prefix} Entity: {architecture.Entity.SymbolName}")
+ buffer.append(f"{prefix} Entity: {architecture.Entity.Identifier}")
buffer.append(f"{prefix} Declared:")
for item in architecture.DeclaredItems:
for line in self.formatDeclaredItems(item, level + 2):