Implement getchr

This commit is contained in:
2022-01-05 13:08:55 +01:00
committed by Raymon Zutekouw
parent 623f68673e
commit b84e897e29
+1 -1
View File
@@ -175,7 +175,7 @@ fn instruct(statement: Pair<Rule>, state: &mut State, out: &mut Builder) {
}
Rule::getchr => {
println!("Reading char from user input into current variable");
out.append("getchr\n");
out.append(",");
}
Rule::print => {
println!("Printing current variable");