Implement print

master
Raymon Zutekouw 3 years ago
parent 5650f1056d
commit 780523fb91
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 2
      src/main.rs

@ -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");

Loading…
Cancel
Save