aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/formatting
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom/formatting')
-rw-r--r--pyGHDL/dom/formatting/prettyprint.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py
index bc6744fe8..7fa49389d 100644
--- a/pyGHDL/dom/formatting/prettyprint.py
+++ b/pyGHDL/dom/formatting/prettyprint.py
@@ -44,6 +44,7 @@ from pyGHDL.dom.Concurrent import (
ConfigurationInstantiation,
EntityInstantiation,
OthersGenerateCase,
+ ConcurrentProcedureCall,
)
from pyVHDLModel.SyntaxModel import (
GenericInterfaceItem,
@@ -741,5 +742,11 @@ class PrettyPrint:
for stmt in statement.Statements:
for line in self.formatHierarchy(stmt, level + 2):
buffer.append(line)
+ elif isinstance(statement, ConcurrentProcedureCall):
+ buffer.append(
+ "{prefix}- {label}: {name!s}(...)".format(
+ prefix=prefix, label=statement.Label, name=statement.Procedure
+ )
+ )
return buffer