Implement loopBlock

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

@ -191,11 +191,11 @@ fn instruct(statement: Pair<Rule>, state: &mut State, out: &mut Builder) {
} }
Rule::loopBlockStart => { Rule::loopBlockStart => {
println!("Start of loopBlock"); println!("Start of loopBlock");
out.append("loopBlockStart\n"); out.append("[");
} }
Rule::loopBlockEnd => { Rule::loopBlockEnd => {
println!("End of loopBlock"); println!("End of loopBlock");
out.append("loopBlockEnd\n"); out.append("]");
} }
Rule::EOI => { Rule::EOI => {
println!("End of Input"); println!("End of Input");

Loading…
Cancel
Save