1
Fork 0

Move CrateConfig from Crate to ParseSess.

This commit is contained in:
Jeffrey Seyfried 2016-10-27 06:36:56 +00:00
parent 17e9d9ae82
commit cbd24757eb
39 changed files with 130 additions and 298 deletions

View file

@ -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;