From 0bc02d48d100aff63e40132786a89123ac43ae48 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 1 Jun 2020 16:36:48 -0400 Subject: - Deleted some commented code. - Fixed a bug in SuBAsm. --- assemble.c | 1 - programs/subasm.s | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/assemble.c b/assemble.c index 651f5ee..4d95c33 100644 --- a/assemble.c +++ b/assemble.c @@ -405,7 +405,6 @@ static inline void free_fixups() { fixup *f = fixups; fixup *fix; for (; f != NULL && f >= fix; f = f->next) { - /*free_tokens(l->tok, l->count);*/ fix = f; free(fix); } diff --git a/programs/subasm.s b/programs/subasm.s index e009ce8..4cec219 100644 --- a/programs/subasm.s +++ b/programs/subasm.s @@ -222,6 +222,7 @@ subasm: jsr chk_cmd ; No, but did we get a full command? bne parse_cmd ; Yes, so skip everything else. jsr lexer ; No, so start lexing this line. +@end: subasm_end: rts ; End of subasm. -- cgit v1.2.3-13-gbd6f