|
@@ -229,7 +229,7 @@ class LoopInstruction(VoidInstruction):
|
|
|
def generate_python_def(self, code_generator):
|
|
|
"""Generates Python code for this instruction."""
|
|
|
|
|
|
- code_generator.append_line('while True:')
|
|
|
+ code_generator.append_line('while 1:')
|
|
|
code_generator.increase_indentation()
|
|
|
self.body.generate_python_def(code_generator)
|
|
|
code_generator.decrease_indentation()
|