commit 278a4391c947c3c48c55a232f754789d6bd9a2df
parent 7760593a88114f08afb7776ba89ffa059646358c
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Wed, 27 Mar 2024 10:20:33 -0700
(uxnasm) Removed macro length
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/uxnasm.c b/src/uxnasm.c
@@ -20,7 +20,6 @@ typedef unsigned short Uint16;
typedef struct {
char *name, content[0x80];
- Uint8 len;
} Macro;
typedef struct {
@@ -151,7 +150,6 @@ makemacro(char *name, FILE *f)
if(word[0] == '{') continue;
if(word[0] == '}') break;
if(word[0] == '%') return error_asm("Macro error");
- if(m->len >= 0x40) return error_asm("Macro size exceeded");
if(word[0] == '(') {
if(!walkcomment(word, f)) return error_asm("Comment error");
continue;