projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1af060
)
compat.fhdl.structure: fix typo.
author
whitequark
<whitequark@whitequark.org>
Tue, 25 Jun 2019 21:53:08 +0000
(21:53 +0000)
committer
whitequark
<whitequark@whitequark.org>
Tue, 25 Jun 2019 22:01:14 +0000
(22:01 +0000)
nmigen/compat/fhdl/structure.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/fhdl/structure.py
b/nmigen/compat/fhdl/structure.py
index 4a99195a24321abe32d676b1b68dc2d02a7a38fa..1f374d4e753e1722777fc980dadb9f0cca4aa3ee 100644
(file)
--- a/
nmigen/compat/fhdl/structure.py
+++ b/
nmigen/compat/fhdl/structure.py
@@
-88,6
+88,7
@@
class Case(ast.Switch):
raise TypeError("Case object is not a Migen constant")
if isinstance(k, str) and k == "default":
default = v
+ continue
else:
k = k.value
new_cases.append((k, v))