aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorc-thaler <christian.thaler@tes-dst.com>2023-03-30 17:08:03 +0200
committertgingold <tgingold@users.noreply.github.com>2023-04-04 19:17:55 +0200
commitf1a935135df36676b921efdeb0ec49eabd28a973 (patch)
treeb4854d65c512259eeb6a5e7dccc47aca529d05cb
parent4a2bc36f543b94ff15bbb05f101431189007cd22 (diff)
downloadghdl-f1a935135df36676b921efdeb0ec49eabd28a973.tar.gz
ghdl-f1a935135df36676b921efdeb0ec49eabd28a973.tar.bz2
ghdl-f1a935135df36676b921efdeb0ec49eabd28a973.zip
pyGHDL: fix constructor call parameters
-rw-r--r--pyGHDL/dom/Sequential.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyGHDL/dom/Sequential.py b/pyGHDL/dom/Sequential.py
index 52c2c04ad..42e5e2245 100644
--- a/pyGHDL/dom/Sequential.py
+++ b/pyGHDL/dom/Sequential.py
@@ -485,8 +485,9 @@ class ExitStatement(VHDLModel_ExitStatement, DOMMixin):
exitNode: Iir,
label: str = None,
):
- super().__init__(label)
+ super().__init__(condition=None, loopLabel=label)
DOMMixin.__init__(self, exitNode)
+ #TODO: parse condition
@export