diff --git a/decompiler/sl2decompiler.py b/decompiler/sl2decompiler.py index 54e78c23..862b30eb 100644 --- a/decompiler/sl2decompiler.py +++ b/decompiler/sl2decompiler.py @@ -130,6 +130,16 @@ def print_for(self, ast): # Interestingly, for doesn't contain a block, but just a list of child nodes self.print_nodes(children, 1) + @dispatch(sl2.slast.SLContinue) + def print_continue(self, ast): + self.indent() + self.write("continue") + + @dispatch(sl2.slast.SLBreak) + def print_break(self, ast): + self.indent() + self.write("break") + @dispatch(sl2.slast.SLPython) def print_python(self, ast): self.indent()