uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit e327373950648a8290846f3bd784ef5c6c22d591
parent ddf10cf8329b6acb9a99042863225bb913cb941d
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Sat, 21 Jan 2023 18:24:11 -0800

Increased refs limit

Diffstat:
Msrc/uxnasm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -39,7 +39,7 @@ typedef struct { Uint16 llen, mlen, rlen; Label labels[0x400]; Macro macros[0x100]; - Reference refs[0x800]; + Reference refs[0x1000]; char scope[0x40]; } Program; @@ -179,7 +179,7 @@ makereference(char *scope, char *label, Uint16 addr) { char subw[0x40], parent[0x40]; Reference *r; - if(p.rlen == 0x800) + if(p.rlen == 0x1000) return error("References limit exceeded", label); r = &p.refs[p.rlen++]; if(label[1] == '&') {