Fix RGBLINK evaluation of undefined RPN symbols

This was the only RPN case to not assign a deliberate value
in all possible branches.

Fixes #1858
This commit is contained in:
Rangi
2025-11-18 16:40:24 -05:00
parent 5c2c893ced
commit 3553c9c4da
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
SECTION "bad", ROM0
ld a, FOO * 256
ld a, BAR * 256

View File

@@ -0,0 +1,5 @@
error: Undefined symbol `BAR`
at rpn-bad-sym-id.asm(3)
error: Undefined symbol `FOO`
at rpn-bad-sym-id.asm(2)
Linking failed with 2 errors