We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff04cd commit 6cf63b0Copy full SHA for 6cf63b0
caffeine/modules/operators/internal.py
@@ -32,7 +32,9 @@ def operator_if(func: object, args: list) -> None:
32
33
@operator("jmp")
34
def operator_jmp(func: object, args: list) -> None:
35
- func.append(f"{args[0]}({', '.join([convert_value(a) for a in args[1:]])})")
+ assign = ", ".join([a[1:] for a in args[1:] if a[0] == "?"])
36
+ assign += " = " if assign else ""
37
+ func.append(f"{assign}{args[0]}({', '.join([a for a in args[1:] if a[0] != '?'])})")
38
39
@operator("rem")
40
def operator_rem(func: object, args: list) -> None:
0 commit comments