Extend ast_map to know about method declarations in traits.

This commit is contained in:
Michael Sullivan 2012-08-02 15:52:25 -07:00
parent 97452c0ca1
commit 2fe299d1a5
7 changed files with 48 additions and 11 deletions

View file

@ -291,7 +291,7 @@ class parser {
required({ident: ident, attrs: attrs,
decl: {purity: pur with d}, tps: tps,
self_ty: self_ty,
span: mk_sp(lo, hi)})
id: p.get_id(), span: mk_sp(lo, hi)})
}
token::LBRACE {
debug!{"parse_trait_methods(): parsing provided method"};