diff --git a/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy b/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy index 9e786644..95e21027 100644 --- a/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy +++ b/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy @@ -4009,6 +4009,10 @@ end } } + def packLogicNegate(blk) { + out << "!("; packExpr(getSingle(blk.value, "BOOL").block[0]); out << ")" + } + def packMathArithmetic(blk) { def op = getSingle(blk.field, "OP").text() @@ -4078,6 +4082,9 @@ end case 'logic_operation': packLogicOperation(blk) break + case 'logic_negate': + packLogicNegate(blk) + break case 'variables_get': packVarGet(blk) break