Fixed modulo operator in gazunparser
Took 9 minutes
This commit is contained in:
parent
4d8609c38e
commit
88ef999640
|
@ -42,7 +42,7 @@ def to_gaz_op(param):
|
||||||
return "*"
|
return "*"
|
||||||
elif param == "division":
|
elif param == "division":
|
||||||
return "/"
|
return "/"
|
||||||
elif param == "modulus":
|
elif param == "modulo":
|
||||||
return "%"
|
return "%"
|
||||||
elif param == "power":
|
elif param == "power":
|
||||||
return "^"
|
return "^"
|
||||||
|
|
|
@ -18,7 +18,7 @@ class GeneralUnparser:
|
||||||
arg_start_delimiter: str = "(",
|
arg_start_delimiter: str = "(",
|
||||||
arg_end_delimiter: str = ")",
|
arg_end_delimiter: str = ")",
|
||||||
arg_separator: str = ",",
|
arg_separator: str = ",",
|
||||||
loop_start_delimiter: str = "loop (",
|
loop_start_delimiter: str = "loop while (",
|
||||||
loop_end_delimiter: str = ")",
|
loop_end_delimiter: str = ")",
|
||||||
assignment_character: str = '=',
|
assignment_character: str = '=',
|
||||||
conditional_start_delimiter: str = "if (",
|
conditional_start_delimiter: str = "if (",
|
||||||
|
|
Loading…
Reference in a new issue