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.
This commit is contained in:
ry755 2022-01-31 21:50:01 -08:00 committed by Ry
parent dd6ebe86f8
commit 94e02b8f09

View File

@ -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() {