Fix constant expression detection functions (#1462)

This commit is contained in:
Sylvie
2024-08-09 03:40:53 -04:00
committed by GitHub
parent a9140e6bb4
commit 2d530dbcd6
2 changed files with 12 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
SECTION "test", ROMX
; Foo is unknown so none of these should warn
assert warn, Foo & $8000
assert warn, !Foo
assert warn, LOW(Foo)
assert warn, !(Foo & LOW(Foo))