Fix a compatability issue.

This commit is contained in:
bʰedoh₂ swé 2024-06-18 04:00:53 +05:00
parent 906a72a195
commit b42d582bad

View File

@ -47,7 +47,9 @@ pub fn parse(stack: &mut Stack, file_content: &str) {
}
}
let inst = Instruction { name, arg, data };
stack.program.push(inst);
if name != "" {
let inst = Instruction { name, arg, data };
stack.program.push(inst);
}
}
}