From 94e02b8f092c0bf6e3932449cca4d82c7c8f2601 Mon Sep 17 00:00:00 2001 From: ry755 Date: Mon, 31 Jan 2022 21:50:01 -0800 Subject: [PATCH] fox32asm: Increase the max include limit from 8 to 128 The whole include system is just a huge hack, this really needs to be replaced at some point. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index aea0db9..9295cc8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -274,7 +274,7 @@ fn main() { let mut source_path = canonicalize(&input_file_name).unwrap(); source_path.pop(); *SOURCE_PATH.lock().unwrap() = source_path; - for _ in 0..8 { + for _ in 0..128 { let loop_file = input_file.clone(); // this is a hack to allow modifying input_file from inside the for loop for (line_number, text) in loop_file.lines().enumerate() { match text.trim() {