diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-08-05 11:33:09 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-08-05 11:33:48 -0700 |
| commit | 9b9170f9fe2e4701255a5bd0630c203409d8e934 (patch) | |
| tree | ea815ec0056056cc1b98500c3a3e25672401d6cb /src/comp/syntax/parse | |
| parent | ad925955d889c791b81b00e5a0f1516dceb8684a (diff) | |
| download | rust-9b9170f9fe2e4701255a5bd0630c203409d8e934.tar.gz rust-9b9170f9fe2e4701255a5bd0630c203409d8e934.zip | |
rustc: Introduce the concept of inline to the AST
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 9e7f693c74b..71a148c5337 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -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 { |
