Fix a compatability issue.
This commit is contained in:
parent
906a72a195
commit
b42d582bad
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user