aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom')
-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 bfb91f3da..9917394da 100644
--- a/pyGHDL/dom/formatting/prettyprint.py
+++ b/pyGHDL/dom/formatting/prettyprint.py
@@ -566,7 +566,7 @@ class PrettyPrint:
)
elif isinstance(item, UseClause):
buffer.append(
- "{prefix}- use {name!s}".format(prefix=prefix, name=item.Item)
+ "{prefix}- use {names}".format(prefix=prefix, names=", ".join([str(n) for n in item.Names]))
)
elif isinstance(item, Package):
buffer.append(