aboutsummaryrefslogtreecommitdiffstats
path: root/src/sectionizer.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-02-28 18:35:09 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-02-28 18:35:09 +0100
commite2eefa106a8f8b1677ba6275f5ea5879cac20974 (patch)
tree6d675b72f1faaec9c0af259776e53362cf4aed64 /src/sectionizer.rs
parent6b4b3d9d01057c27909bab7675c2ad3ec5e910a9 (diff)
downloadsylt-e2eefa106a8f8b1677ba6275f5ea5879cac20974.tar.gz
more wip namespaces
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);