1
Fork 0

Implement non-mod.rs mod statements

This commit is contained in:
Taylor Cramer 2017-11-27 18:14:24 -08:00
parent b39c4bc123
commit 07f51fb868
56 changed files with 605 additions and 62 deletions

View file

@ -100,7 +100,7 @@ pub fn expand_include<'cx>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[tokenstream::T
};
// The file will be added to the code map by the parser
let path = res_rel_file(cx, sp, file);
let directory_ownership = DirectoryOwnership::Owned;
let directory_ownership = DirectoryOwnership::Owned { relative: None };
let p = parse::new_sub_parser_from_file(cx.parse_sess(), &path, directory_ownership, None, sp);
struct ExpandResult<'a> {