hopefully fix empty line bug

This commit is contained in:
mrbobbyguy authored and GitHub committed 2026-09-07 12:47:36 -05:00
1 parent 121b632fb0
commit 7f423ccc9d
1 file changed
+5
+5
View File
@@ -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);