···2020 _scope: &[Token],
2121) -> Vec<Token> {
2222 let origin_file = context
2323- .file_for_index(origin_index)
2323+ .file_for_index_cannonical(origin_index)
2424 .expect("Macro 'Insert' was given a bad origin index")
2525 .clone();
2626 if args.len() != 1 {
···6767 }
68686969 if !ok {
7070- println!("[ERROR] \"{:?}\": Insert was unable to find the file \"{}\" relative to its origin or in project root.", origin_file.to_str(), arg);
7070+ println!("[ERROR] {:?}: Insert was unable to find the file \"{}\" relative to its origin or in project root.", origin_file.to_str().unwrap(), arg);
7171 exit(1);
7272 }
7373
···249249 if !matched_macro {
250250 println!(
251251 "[WARN] {:?}:{}; Token written as a function but no such function exists \"{}\"",
252252- file.file_input,
252252+ context.file_for_index(file.tokens[file.working_index].origin_file).unwrap(),
253253 file.tokens[file.working_index].line_number,
254254 file.tokens[file.working_index].contents.trim()
255255 );