Fixing subtle bugs
This commit is contained in:
@@ -742,6 +742,10 @@ impl Forth {
|
||||
scope_stack.push(new_scope);
|
||||
}
|
||||
|
||||
Op::ClearCmd => {
|
||||
cmd.clear();
|
||||
}
|
||||
|
||||
Op::EmitN => {
|
||||
let n = stack.pop().ok_or("stack underflow")?.as_int()?;
|
||||
if n < 0 {
|
||||
|
||||
Reference in New Issue
Block a user