aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/_Translate.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-30 13:03:00 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-07-01 06:39:46 +0200
commit12a6518bf4d2e41664210b77a5416eca0d1dc7af (patch)
tree9829493c8f71d00dceac41705d9887b40540df8a /pyGHDL/dom/_Translate.py
parent03f5a6cd6f88aef6c6580f471905403056313f05 (diff)
downloadghdl-12a6518bf4d2e41664210b77a5416eca0d1dc7af.tar.gz
ghdl-12a6518bf4d2e41664210b77a5416eca0d1dc7af.tar.bz2
ghdl-12a6518bf4d2e41664210b77a5416eca0d1dc7af.zip
Extended attribute specification.
Diffstat (limited to 'pyGHDL/dom/_Translate.py')
-rw-r--r--pyGHDL/dom/_Translate.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py
index fc8f86b42..4e9515767 100644
--- a/pyGHDL/dom/_Translate.py
+++ b/pyGHDL/dom/_Translate.py
@@ -448,9 +448,8 @@ def GetExpressionFromNode(node: Iir) -> Expression:
except KeyError:
position = Position.parse(node)
raise DOMException(
- "Unknown expression kind '{kindName}'({kind}) in expression '{expr}' at {file}:{line}:{column}.".format(
- kind=kind,
- kindName=kind.name,
+ "Unknown expression kind '{kind}' in expression '{expr}' at {file}:{line}:{column}.".format(
+ kind=kind.name,
expr=node,
file=position.Filename,
line=position.Line,