From f1a935135df36676b921efdeb0ec49eabd28a973 Mon Sep 17 00:00:00 2001 From: c-thaler Date: Thu, 30 Mar 2023 17:08:03 +0200 Subject: pyGHDL: fix constructor call parameters --- pyGHDL/dom/Sequential.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyGHDL/dom/Sequential.py') 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 -- cgit v1.2.3