diff options
| -rw-r--r-- | src/compiler.rs | 1 | ||||
| -rw-r--r-- | src/sectionizer.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index 5ae5bdb..295f5cf 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -1794,7 +1794,6 @@ impl<'a, 'b> Compiler { self.panic = false; } - block.debug_print(); self.blocks.insert(0, Rc::new(RefCell::new(block))); if self.errors.is_empty() { diff --git a/src/sectionizer.rs b/src/sectionizer.rs index 55f231e..c9cfcd5 100644 --- a/src/sectionizer.rs +++ b/src/sectionizer.rs @@ -54,7 +54,7 @@ pub fn sectionize(path: &Path) -> Vec<Section> { (Some((Token::LeftBrace, _)), ..) => { - let mut blocks = 0; + let mut blocks = 1; loop { curr += 1; match tokens.get(curr) { |
