diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-30 13:03:00 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-07-01 06:39:46 +0200 |
commit | 12a6518bf4d2e41664210b77a5416eca0d1dc7af (patch) | |
tree | 9829493c8f71d00dceac41705d9887b40540df8a /pyGHDL/dom/_Translate.py | |
parent | 03f5a6cd6f88aef6c6580f471905403056313f05 (diff) | |
download | ghdl-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.py | 5 |
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, |