diff options
Diffstat (limited to 'pyGHDL/dom/Concurrent.py')
| -rw-r--r-- | pyGHDL/dom/Concurrent.py | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/pyGHDL/dom/Concurrent.py b/pyGHDL/dom/Concurrent.py index 693feba27..df3e97a2a 100644 --- a/pyGHDL/dom/Concurrent.py +++ b/pyGHDL/dom/Concurrent.py @@ -579,9 +579,7 @@ class CaseGenerateStatement(VHDLModel_CaseGenerateStatement, DOMMixin):                  cases.append(GenerateCase.parse(caseNode, choices))              caseNode = alternative -            choices = [ -                choice, -            ] +            choices = [choice]              alternative = nodes.Get_Chain(alternative) @@ -630,7 +628,7 @@ class ForGenerateStatement(VHDLModel_ForGenerateStatement, DOMMixin):          else:              pos = Position.parse(generateNode)              raise DOMException( -                f"Unknown discete range kind '{rangeKind.name}' in for...generate statement at line {pos.Line}." +                f"Unknown discrete range kind '{rangeKind.name}' in for...generate statement at line {pos.Line}."              )          body = nodes.Get_Generate_Statement_Body(generateNode)  | 
