aboutsummaryrefslogtreecommitdiffstats
path: root/src/sectionizer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sectionizer.rs')
-rw-r--r--src/sectionizer.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sectionizer.rs b/src/sectionizer.rs
index b7e083f..9441663 100644
--- a/src/sectionizer.rs
+++ b/src/sectionizer.rs
@@ -43,7 +43,6 @@ pub fn sectionize(path: &Path) -> Vec<Section> {
(Some((Token::Use, _)),
Some((Token::Identifier(use_file), _)),
Some((Token::Newline, _))) => {
- curr += 3;
let use_file: PathBuf = format!("{}.sy", use_file).into();
if !read_files.contains(&use_file) {
let use_file_tokens = file_to_tokens(&use_file);