aboutsummaryrefslogtreecommitdiffstats
path: root/src/sectionizer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sectionizer.rs')
-rw-r--r--src/sectionizer.rs2
1 files changed, 1 insertions, 1 deletions
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) {