diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2023-04-15 10:43:09 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2023-04-15 10:43:09 +0200 |
commit | d67bfa80c0c7d013a99636d7959cf433000ab2e7 (patch) | |
tree | 4b5f37cd0e0f2aeb460d2d188bc15f1181e9614c /pyGHDL/dom/Sequential.py | |
parent | bee2616e7fed89c042f79592ddfafa2f6aea451e (diff) | |
download | ghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.tar.gz ghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.tar.bz2 ghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.zip |
Modifications due to changes in Symbols.
Diffstat (limited to 'pyGHDL/dom/Sequential.py')
-rw-r--r-- | pyGHDL/dom/Sequential.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/dom/Sequential.py b/pyGHDL/dom/Sequential.py index f289ae969..e76cdd440 100644 --- a/pyGHDL/dom/Sequential.py +++ b/pyGHDL/dom/Sequential.py @@ -335,7 +335,7 @@ class ForLoopStatement(VHDLModel_ForLoopStatement, DOMMixin): @classmethod def parse(cls, loopNode: Iir, label: str) -> "ForLoopStatement": - from pyGHDL.dom._Utils import GetIirKindOfNode + from pyGHDL.dom._Utils import GetNameOfNode, GetIirKindOfNode from pyGHDL.dom._Translate import ( GetSequentialStatementsFromChainedNodes, GetRangeFromNode, @@ -343,7 +343,7 @@ class ForLoopStatement(VHDLModel_ForLoopStatement, DOMMixin): ) spec = nodes.Get_Parameter_Specification(loopNode) - loopIndex = GetName(spec) + loopIndex = GetNameOfNode(spec) discreteRange = nodes.Get_Discrete_Range(spec) rangeKind = GetIirKindOfNode(discreteRange) |