0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-30 09:43:02 +00:00

Remove vestigial mention of "include".

This commit is contained in:
Andrew Alderwick 2021-11-17 23:14:05 +00:00
parent c3ac41c41d
commit d4e033e715

View file

@ -157,7 +157,7 @@ makemacro(char *name, FILE *f)
return error("Macro duplicate", name); return error("Macro duplicate", name);
if(sihx(name) && slen(name) % 2 == 0) if(sihx(name) && slen(name) % 2 == 0)
return error("Macro name is hex number", name); return error("Macro name is hex number", name);
if(findopcode(name) || scmp(name, "BRK", 4) || !slen(name) || scmp(name, "include", 8)) if(findopcode(name) || scmp(name, "BRK", 4) || !slen(name))
return error("Macro name is invalid", name); return error("Macro name is invalid", name);
if(p.mlen == MACROS) if(p.mlen == MACROS)
return error("Too many macros", name); return error("Too many macros", name);