diff options
author | tgingold <tgingold@users.noreply.github.com> | 2022-12-24 11:06:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 11:06:07 +0100 |
commit | 5bca94f83b0d44297f943ff0d0237ec216fc29e9 (patch) | |
tree | 1b045b05c55baeb2676cdbb0dcb00393c24557db /pyGHDL/dom/Concurrent.py | |
parent | 26bb3c572eaffafafd8de8ef09b8acc34f91656f (diff) | |
parent | 08a338e9568c333929c6863be60580619e3e77ff (diff) | |
download | ghdl-5bca94f83b0d44297f943ff0d0237ec216fc29e9.tar.gz ghdl-5bca94f83b0d44297f943ff0d0237ec216fc29e9.tar.bz2 ghdl-5bca94f83b0d44297f943ff0d0237ec216fc29e9.zip |
Merge pull request #2281 from Paebbels/paebbels/encoding
Configurable encoding for pyGHDL
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) |