Remove match on Rule::instruction

master
Raymon Zutekouw 3 years ago
parent 525d3a6c70
commit d04ecaeef5
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 3
      src/main.rs

@ -191,9 +191,6 @@ fn instruct(statement: Pair<Rule>, state: &mut State, out: &mut Builder) {
println!("Printing current variable"); println!("Printing current variable");
out.append("."); out.append(".");
} }
Rule::instruction => {
out.append("\n");
}
Rule::loopBlock => { Rule::loopBlock => {
for nested_statement in statement.into_inner() { for nested_statement in statement.into_inner() {
instruct(nested_statement, state, out); instruct(nested_statement, state, out);

Loading…
Cancel
Save