Implement print
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ fn instruct(statement: Pair<Rule>, state: &mut State, out: &mut Builder) {
|
|||||||
}
|
}
|
||||||
Rule::print => {
|
Rule::print => {
|
||||||
println!("Printing current variable");
|
println!("Printing current variable");
|
||||||
out.append("print\n");
|
out.append(".");
|
||||||
}
|
}
|
||||||
Rule::instruction => {
|
Rule::instruction => {
|
||||||
out.append("\n");
|
out.append("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user