|
|
@@ -308,6 +308,8 @@ class ModelverseKernel(object):
|
|
|
" " * (indent + 2) + "%s['value'], = yield [('RV', [%s['id']])]\n" % (instruction_cond, instruction_cond) + \
|
|
|
" " * (indent + 1) + "if not (%s['value']):\n" % instruction_cond + \
|
|
|
" " * (indent + 2) + "break\n" + \
|
|
|
+ " " * (indent + 1) + "else:\n" + \
|
|
|
+ " " * (indent + 2) + "yield None\n" + \
|
|
|
prev_body + instruction_body
|
|
|
|
|
|
next_inst, = yield [("RD", [inst, "next"])]
|