Move CrateConfig
from Crate
to ParseSess
.
This commit is contained in:
parent
17e9d9ae82
commit
cbd24757eb
39 changed files with 130 additions and 298 deletions
|
@ -107,7 +107,7 @@ pub fn expand_asm<'cx>(cx: &'cx mut ExtCtxt,
|
|||
if p2.token != token::Eof {
|
||||
let mut extra_tts = panictry!(p2.parse_all_token_trees());
|
||||
extra_tts.extend(tts[first_colon..].iter().cloned());
|
||||
p = parse::tts_to_parser(cx.parse_sess, extra_tts, cx.cfg().clone());
|
||||
p = parse::tts_to_parser(cx.parse_sess, extra_tts);
|
||||
}
|
||||
|
||||
asm = s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue