mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 14:27:50 +00:00
Fix segfaults when using PC outside a section
This commit is contained in:
1
test/asm/assert@-no-sect.asm
Normal file
1
test/asm/assert@-no-sect.asm
Normal file
@@ -0,0 +1 @@
|
||||
assert @ || 1
|
||||
3
test/asm/assert@-no-sect.err
Normal file
3
test/asm/assert@-no-sect.err
Normal file
@@ -0,0 +1,3 @@
|
||||
ERROR: assert@-no-sect.asm(1):
|
||||
PC has no value outside a section
|
||||
error: Assembly aborted (1 errors)!
|
||||
0
test/asm/assert@-no-sect.out
Normal file
0
test/asm/assert@-no-sect.out
Normal file
2
test/asm/if@-no-sect.asm
Normal file
2
test/asm/if@-no-sect.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
if {@}
|
||||
endc
|
||||
3
test/asm/if@-no-sect.err
Normal file
3
test/asm/if@-no-sect.err
Normal file
@@ -0,0 +1,3 @@
|
||||
ERROR: if@-no-sect.asm(1):
|
||||
PC has no value outside a section
|
||||
error: Assembly aborted (1 errors)!
|
||||
0
test/asm/if@-no-sect.out
Normal file
0
test/asm/if@-no-sect.out
Normal file
Reference in New Issue
Block a user