Implement setz

This commit is contained in:
2022-01-05 13:07:36 +01:00
committed by Raymon Zutekouw
parent 5ce39f26fd
commit c59dc8fad4
+1 -1
View File
@@ -171,7 +171,7 @@ fn instruct(statement: Pair<Rule>, state: &mut State, out: &mut Builder) {
} }
Rule::setz => { Rule::setz => {
println!("Set current variable to zero"); println!("Set current variable to zero");
out.append("setz\n"); out.append("[-]");
} }
Rule::getchr => { Rule::getchr => {
println!("Reading char from user input into current variable"); println!("Reading char from user input into current variable");