From 9415c7db1cd00b530f82f673efc32a459a4ae789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 1 Mar 2021 19:29:11 +0100 Subject: bugfix sectionizer --- src/sectionizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sectionizer.rs') 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
{ (Some((Token::LeftBrace, _)), ..) => { - let mut blocks = 0; + let mut blocks = 1; loop { curr += 1; match tokens.get(curr) { -- cgit v1.2.1