1
Fork 0

Reduce the size of the TokenTree

This commit is contained in:
Brendan Zabarauskas 2014-10-23 04:58:48 +11:00
parent dfb4163f83
commit 34dacb80ce
7 changed files with 34 additions and 22 deletions

View file

@ -2615,7 +2615,7 @@ impl<'a> Parser<'a> {
// Expand to cover the entire delimited token tree
let span = Span { hi: self.span.hi, ..pre_span };
TtDelimited(span, open, Rc::new(tts), close)
TtDelimited(span, Rc::new((open, tts, close)))
}
_ => parse_non_delim_tt_tok(self)
}