summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-06-01 16:36:48 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-06-01 16:36:48 -0400
commit0bc02d48d100aff63e40132786a89123ac43ae48 (patch)
tree16bebe39c4f20e60c4ce8fee8cdfe642d1c11dbf
parentdf81112b8369eeca5788a6f28c6b6b85ca911a95 (diff)
- Deleted some commented code.
- Fixed a bug in SuBAsm.
-rw-r--r--assemble.c1
-rw-r--r--programs/subasm.s1
2 files changed, 1 insertions, 1 deletions
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.