diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-29 19:10:33 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-07-01 06:39:46 +0200 |
commit | 6acaf4b6baba21f8eca7520f518c62ffd75abd04 (patch) | |
tree | f0385151319a67703cf4fed45641d5ce437598ad /pyGHDL/dom | |
parent | 7f4ed5db5e0e9c0967000d50a4f3f14e88bf9dd7 (diff) | |
download | ghdl-6acaf4b6baba21f8eca7520f518c62ffd75abd04.tar.gz ghdl-6acaf4b6baba21f8eca7520f518c62ffd75abd04.tar.bz2 ghdl-6acaf4b6baba21f8eca7520f518c62ffd75abd04.zip |
Minor changes.
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/_Translate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py index 8229755f3..fc8f86b42 100644 --- a/pyGHDL/dom/_Translate.py +++ b/pyGHDL/dom/_Translate.py @@ -270,7 +270,7 @@ def GetAnonymousTypeFromNode(node: Iir) -> BaseType: r = GetRangeFromNode(typeDefinition) return IntegerType(node, typeName, r) - elif kind == nodes.Iir_Kind.Parenthesis_Name: + elif kind in (nodes.Iir_Kind.Attribute_Name, nodes.Iir_Kind.Parenthesis_Name): n = GetNameFromNode(typeDefinition) return IntegerType(node, typeName, n) |