mirror of https://github.com/YosysHQ/yosys.git
Fix pmgen "reject" statement
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
d45379936b
commit
55ac030382
|
@ -293,7 +293,7 @@ with open("%s_pm.h" % prefix, "w") as f:
|
|||
print(" }", file=f)
|
||||
print("", file=f)
|
||||
|
||||
print("#define reject break", file=f)
|
||||
print("#define reject do { check_blacklist(); goto rollback_label; } while(0)", file=f)
|
||||
print("#define accept do { on_accept(); check_blacklist(); if (rollback) goto rollback_label; } while(0)", file=f)
|
||||
print("", file=f)
|
||||
|
||||
|
|
Loading…
Reference in New Issue