Implement non-mod.rs mod statements
This commit is contained in:
parent
b39c4bc123
commit
07f51fb868
56 changed files with 605 additions and 62 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue