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")
|
raise TypeError("Case object is not a Migen constant")
|
||||||
if isinstance(k, str) and k == "default":
|
if isinstance(k, str) and k == "default":
|
||||||
default = v
|
default = v
|
||||||
|
continue
|
||||||
else:
|
else:
|
||||||
k = k.value
|
k = k.value
|
||||||
new_cases.append((k, v))
|
new_cases.append((k, v))
|
||||||
|
|
Loading…
Reference in a new issue