mirror of
https://github.com/syssec-utd/pylingual.git
synced 2026-05-10 18:39:03 -07:00
Make sure Jump isn't continue/break
This commit is contained in:
@@ -59,6 +59,7 @@ class JumpTemplate(ControlFlowTemplate):
|
||||
template = T(
|
||||
body=~N("jump", None).with_cond(without_instructions("CLEANUP_THROW")),
|
||||
jump=N("tail", "block?")
|
||||
.with_cond(has_no_lines)
|
||||
.with_cond(no_self_edges)
|
||||
.with_in_deg(1)
|
||||
.with_cond(
|
||||
|
||||
Reference in New Issue
Block a user