aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r--pyGHDL/dom/_Translate.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py
index bb96cf8c6..8a76f8a4f 100644
--- a/pyGHDL/dom/_Translate.py
+++ b/pyGHDL/dom/_Translate.py
@@ -499,6 +499,8 @@ def GetGenericsFromChainedNodes(
else:
generic = nextGeneric
break
+ else:
+ generic = nodes.Null_Iir
else:
generic = nodes.Get_Chain(generic)
@@ -552,6 +554,8 @@ def GetPortsFromChainedNodes(
else:
port = nextPort
break
+ else:
+ port = nodes.Null_Iir
else:
port = nodes.Get_Chain(port)
@@ -618,6 +622,8 @@ def GetParameterFromChainedNodes(
else:
parameter = nextParameter
break
+ else:
+ parameter = nodes.Null_Iir
else:
parameter = nodes.Get_Chain(parameter)
@@ -748,6 +754,8 @@ def GetDeclaredItemsFromChainedNodes(
else:
item = nextItem
break
+ else:
+ item = nodes.Null_Iir
else:
item = nodes.Get_Chain(item)