From 7f423ccc9df685ec54593458dddfbcd806b94511 Mon Sep 17 00:00:00 2001 From: mrbobbyguy <84521318+somerandomviolinkid@users.noreply.github.com> Date: Mon, 7 Sep 2026 12:47:36 -0500 Subject: [PATCH] hopefully fix empty line bug --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index 325d8eb..2ca6176 100644 --- a/main.c +++ b/main.c @@ -440,6 +440,11 @@ int assemble() { token = strtok(NULL, " \t\n"); } + if (tokenCount == 0) { + lineCount++; + continue; + } + if (strcmp(tokens[0], ".fill") == 0) { if (tokenCount != 2) { printf("Wrong amount of tokens on line %d!\n", lineCount);