syntax: switch tt quoter to emit ~[tt], not tt.
This commit is contained in:
parent
ba01cd7fb0
commit
497a8b54b5
7 changed files with 76 additions and 36 deletions
|
@ -1321,6 +1321,14 @@ impl Parser {
|
|||
};
|
||||
}
|
||||
|
||||
fn parse_all_token_trees() -> ~[token_tree] {
|
||||
let tts = DVec();
|
||||
while self.token != token::EOF {
|
||||
tts.push(self.parse_token_tree());
|
||||
}
|
||||
tts.get()
|
||||
}
|
||||
|
||||
fn parse_matchers() -> ~[matcher] {
|
||||
// unification of matchers and token_trees would vastly improve
|
||||
// the interpolation of matchers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue