"not" no longer in LogicalOperators because it makes assembler generate invalid code somehow

This commit is contained in:
Irmen de Jong
2022-06-30 22:49:27 +02:00
parent f675dbc726
commit 7901ec2a64
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package prog8.code.core
val AssociativeOperators = setOf("+", "*", "&", "|", "^", "or", "and", "xor", "==", "!=")
val ComparisonOperators = setOf("==", "!=", "<", ">", "<=", ">=")
val AugmentAssignmentOperators = setOf("+", "-", "/", "*", "&", "|", "^", "<<", ">>", "%", "and", "or", "xor")
val LogicalOperators = setOf("and", "or", "xor", "not")
val LogicalOperators = setOf("and", "or", "xor") // not has been replaced by == 0
val BitwiseOperators = setOf("&", "|", "^")
fun invertedComparisonOperator(operator: String) =