Skip to content

Commit

Permalink
fix operator mapping for "or", "<", "<=" (#613)
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Mayoff <mayoff@dqd.com>
  • Loading branch information
mayoff and Rob Mayoff authored Nov 22, 2024
1 parent 8c6e69f commit d33640f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Generator/Generator/TypeHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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", "+")
Expand Down

0 comments on commit d33640f

Please sign in to comment.