🚀 add operator ^= &= |=

fix bug of parsing expressions beginning with floater
This commit is contained in:
ValKmjolnir
2023-02-28 00:30:27 +08:00
parent cdfb8d2e32
commit 034085e6cb
14 changed files with 214 additions and 104 deletions
+6
View File
@@ -222,4 +222,10 @@ for(var a=0;a<16;a+=1) {
}
}
}
}
for(var a=0;a<16;a+=1) {
for(var b=0;b<16;b+=1) {
var temp=b;
println("temp^=0x"~h[a]~" -> 0x",h[temp^=a]," temp&=0x"~h[a]~" -> 0x",h[temp&=a]," temp|=0x"~h[a]~" -> 0x",h[temp|=a]);
}
}