Changed the long debugging output for loop/when

This commit is contained in:
Emmanuel BENOîT 2022-09-04 12:20:49 +02:00
parent cc439110ae
commit 36477385a1

View file

@ -147,9 +147,9 @@ class RcInstruction:
def dump(self):
output = []
if self._condition is not None:
output.append("when: %s" % (repr(self._condition),))
output.append("{when: %s}" % (repr(self._condition),))
if self._loop is not None:
output.append("loop[%s]: %s" % (self._loop_var, repr(self._loop)))
output.append("{loop[%s]: %s}" % (self._loop_var, repr(self._loop)))
output.extend(self.dump_instruction())
return output