mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-21 10:28:50 +08:00
🚀 add operator ^= &= |=
fix bug of parsing expressions beginning with floater
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user