compat.fhdl.structure: fix typo.
This commit is contained in:
parent
b1af0601fa
commit
2f7e52369c
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue