aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Expression.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom/Expression.py')
-rw-r--r--pyGHDL/dom/Expression.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyGHDL/dom/Expression.py b/pyGHDL/dom/Expression.py
index f56ca148f..51b73c57e 100644
--- a/pyGHDL/dom/Expression.py
+++ b/pyGHDL/dom/Expression.py
@@ -519,7 +519,9 @@ class Aggregate(VHDLModel_Aggregate, DOMMixin):
rng = GetNameFromNode(choiceRange)
else:
pos = Position.parse(item)
- raise DOMException(f"Unknown discete range kind '{rangeKind.name}' in for...generate statement at line {pos.Line}.")
+ raise DOMException(
+ f"Unknown discete range kind '{rangeKind.name}' in for...generate statement at line {pos.Line}."
+ )
choices.append(RangedAggregateElement(item, rng, value))
elif kind == nodes.Iir_Kind.Choice_By_Name: