mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Change the precedence of == to match the documentation
The documentation states that == has the same precedence as the other comparison operators.
This commit is contained in:
7
test/asm/operator-precedence.asm
Normal file
7
test/asm/operator-precedence.asm
Normal file
@@ -0,0 +1,7 @@
|
||||
print: MACRO
|
||||
printv \1
|
||||
printt "\n"
|
||||
ENDM
|
||||
|
||||
print 1 == 1 || 1 == 2
|
||||
print (1 == 1) || (1 == 2)
|
||||
Reference in New Issue
Block a user