aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Attribute.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-15 18:38:14 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-15 18:38:14 +0200
commit9d920a551e9108d9ddc99c87e8f2f5f8744ff418 (patch)
tree3aacb2e0d81577d07b04f47873ae9a236760f270 /pyGHDL/dom/Attribute.py
parentd67bfa80c0c7d013a99636d7959cf433000ab2e7 (diff)
downloadghdl-9d920a551e9108d9ddc99c87e8f2f5f8744ff418.tar.gz
ghdl-9d920a551e9108d9ddc99c87e8f2f5f8744ff418.tar.bz2
ghdl-9d920a551e9108d9ddc99c87e8f2f5f8744ff418.zip
Fixes due to errors reported by unit tests.
Diffstat (limited to 'pyGHDL/dom/Attribute.py')
-rw-r--r--pyGHDL/dom/Attribute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/dom/Attribute.py b/pyGHDL/dom/Attribute.py
index 08295817d..46ea109aa 100644
--- a/pyGHDL/dom/Attribute.py
+++ b/pyGHDL/dom/Attribute.py
@@ -63,7 +63,7 @@ class Attribute(VHDLModel_Attribute, DOMMixin):
subtypeMark = nodes.Get_Type_Mark(attributeNode)
subtypeName = GetNameOfNode(subtypeMark)
- subtype = SimpleSubtypeSymbol(subtypeMark, SimpleName(subtypeName))
+ subtype = SimpleSubtypeSymbol(subtypeMark, SimpleName(subtypeMark, subtypeName))
return cls(attributeNode, name, subtype, documentation)