add hygiene support fns, move them around.

also adds test cases
This commit is contained in:
John Clements
2013-06-25 11:40:51 -07:00
parent 7fd5bdcb9a
commit fa6c981606
5 changed files with 176 additions and 61 deletions

View File

@@ -571,7 +571,7 @@ pub enum token_tree {
// These only make sense for right-hand-sides of MBE macros:
// a kleene-style repetition sequence with a span, a tt_forest,
// an optional separator (?), and a boolean where true indicates
// an optional separator, and a boolean where true indicates
// zero or more (*), and false indicates one or more (+).
tt_seq(Span, @mut ~[token_tree], Option<::parse::token::Token>, bool),