rustc: Introduce the concept of inline to the AST

This commit is contained in:
Patrick Walton 2011-08-05 11:33:09 -07:00
parent ad925955d8
commit 9b9170f9fe
17 changed files with 104 additions and 86 deletions

View file

@ -1769,8 +1769,8 @@ fn parse_item_fn_or_iter(p: &parser, purity: ast::purity, proto: ast::proto,
let lo = p.get_last_lo_pos();
let t = parse_fn_header(p);
let f = parse_fn(p, proto, purity);
ret mk_item(p, lo, f.body.span.hi, t.ident, ast::item_fn(f, t.tps),
attrs);
ret mk_item(p, lo, f.body.span.hi, t.ident,
ast::item_fn(f, t.tps, ast::il_normal), attrs);
}
fn parse_obj_field(p: &parser) -> ast::obj_field {