diff --git a/Generator/Generator/TypeHelpers.swift b/Generator/Generator/TypeHelpers.swift index aedcf3e63..66b3ce73a 100644 --- a/Generator/Generator/TypeHelpers.swift +++ b/Generator/Generator/TypeHelpers.swift @@ -377,9 +377,9 @@ func infixOperatorMap (_ name: String) -> (String, String)? { case "==": return ("GDEXTENSION_VARIANT_OP_EQUAL", "==") case "!=": return ("GDEXTENSION_VARIANT_OP_NOT_EQUAL", "!=") case "and": return ("GDEXTENSION_VARIANT_OP_AND", "&&") - case "or": return ("GDEXTENSION_VARIANT_OP_AND", "||") - case "<": return ("GDEXTENSION_VARIANT_OP_LESS_EQUAL", "<") - case "<=": return ("GDEXTENSION_VARIANT_OP_LESS", "<=") + case "or": return ("GDEXTENSION_VARIANT_OP_OR", "||") + case "<": return ("GDEXTENSION_VARIANT_OP_LESS", "<") + case "<=": return ("GDEXTENSION_VARIANT_OP_LESS_EQUAL", "<=") case ">": return ("GDEXTENSION_VARIANT_OP_GREATER", ">") case ">=": return ("GDEXTENSION_VARIANT_OP_GREATER_EQUAL", ">=") case "+": return ("GDEXTENSION_VARIANT_OP_ADD", "+")