Implement getchr

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