Add new syntax for interpolation and repetition, and allow the transcription of separators.

This commit is contained in:
Paul Stansifer
2012-07-05 14:30:56 -07:00
parent 62db5706e6
commit 7f9b1fbe35
4 changed files with 70 additions and 39 deletions

View File

@@ -379,7 +379,7 @@ enum token_tree {
tt_delim(~[token_tree]),
tt_flat(span, token::token),
/* These only make sense for right-hand-sides of MBE macros*/
tt_dotdotdot(span, ~[token_tree]),
tt_dotdotdot(span, ~[token_tree], option<token::token>, bool),
tt_interpolate(span, ident)
}