compare macro tokens hygienically (commented out)
This commit is contained in:
@@ -3518,7 +3518,10 @@ impl Parser {
|
||||
}
|
||||
|
||||
fn is_self_ident(&self) -> bool {
|
||||
*self.token == token::IDENT(special_idents::self_, false)
|
||||
match *self.token {
|
||||
token::IDENT(id, false) => id.name == special_idents::self_.name,
|
||||
_ => false
|
||||
}
|
||||
}
|
||||
|
||||
fn expect_self_ident(&self) {
|
||||
|
||||
Reference in New Issue
Block a user