aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Attribute.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-13 23:44:29 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-13 23:44:29 +0200
commite95d45e41d32c0d73179cea22c8b3ea812eafb41 (patch)
tree3eb2158353af41195a8a614bea84207e21b922f1 /pyGHDL/dom/Attribute.py
parentf11446e1cfaf0ed4db2d43ec3b9b421de313b6ae (diff)
downloadghdl-e95d45e41d32c0d73179cea22c8b3ea812eafb41.tar.gz
ghdl-e95d45e41d32c0d73179cea22c8b3ea812eafb41.tar.bz2
ghdl-e95d45e41d32c0d73179cea22c8b3ea812eafb41.zip
Reworking symbols.
Diffstat (limited to 'pyGHDL/dom/Attribute.py')
-rw-r--r--pyGHDL/dom/Attribute.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/dom/Attribute.py b/pyGHDL/dom/Attribute.py
index 7133c86a2..7dcb7b1ef 100644
--- a/pyGHDL/dom/Attribute.py
+++ b/pyGHDL/dom/Attribute.py
@@ -45,7 +45,7 @@ from pyGHDL.libghdl.vhdl import nodes
from pyGHDL.libghdl.vhdl.tokens import Tok
from pyGHDL.dom import DOMMixin, Position, DOMException, Expression
from pyGHDL.dom._Utils import GetNameOfNode, GetIirKindOfNode, GetDocumentationOfNode
-from pyGHDL.dom._Translate import GetNameFromNode, GetExpressionFromNode
+from pyGHDL.dom._Translate import GetName, GetExpressionFromNode
from pyGHDL.dom.Names import SimpleName
from pyGHDL.dom.Symbol import SimpleSubtypeSymbol
@@ -109,7 +109,7 @@ class AttributeSpecification(VHDLModel_AttributeSpecification, DOMMixin):
@classmethod
def parse(cls, attributeNode: Iir) -> "AttributeSpecification":
attributeDesignator = nodes.Get_Attribute_Designator(attributeNode)
- attributeName = GetNameFromNode(attributeDesignator)
+ attributeName = GetName(attributeDesignator)
documentation = GetDocumentationOfNode(attributeNode)
names = []