Refactored ast_map and friends, mainly to have Paths without storing them.

This commit is contained in:
Eduard Burtescu 2014-02-14 07:07:09 +02:00
parent 22c34f3c4c
commit a02b10a062
92 changed files with 1987 additions and 2573 deletions

View file

@ -112,7 +112,7 @@ fn parse_args(ecx: &mut ExtCtxt, sp: Span,
return (extra, None);
}
};
let interned_name = token::get_ident(ident.name);
let interned_name = token::get_ident(ident);
let name = interned_name.get();
p.expect(&token::EQ);
let e = p.parse_expr();