Refactored ast_map and friends, mainly to have Paths without storing them.
This commit is contained in:
parent
22c34f3c4c
commit
a02b10a062
92 changed files with 1987 additions and 2573 deletions
|
|
@ -175,8 +175,7 @@ impl ParserObsoleteMethods for Parser {
|
|||
fn is_obsolete_ident(&mut self, ident: &str) -> bool {
|
||||
match self.token {
|
||||
token::IDENT(sid, _) => {
|
||||
let interned_string = token::get_ident(sid.name);
|
||||
interned_string.equiv(&ident)
|
||||
token::get_ident(sid).equiv(&ident)
|
||||
}
|
||||
_ => false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue