Remove match on Rule::instruction
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user