diff options
| author | Rafael Avila de Espindola <espindola@dream.(none)> | 2011-02-16 14:02:02 -0500 |
|---|---|---|
| committer | Rafael Avila de Espindola <espindola@dream.(none)> | 2011-02-16 14:02:02 -0500 |
| commit | 012fa69ea500aa31cb3dd2cd3df67ecd3eefd44e (patch) | |
| tree | 565b715c332f4eaa83460e37c542ff914be77854 /src/comp/front/parser.rs | |
| parent | d4bf67dde638fdeea4361daf16bee421d479628e (diff) | |
| download | rust-012fa69ea500aa31cb3dd2cd3df67ecd3eefd44e.tar.gz rust-012fa69ea500aa31cb3dd2cd3df67ecd3eefd44e.zip | |
More typechecking for native types and the needed plumbing in codegen.
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index 8acc8897254..a108d2431e3 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -1693,7 +1693,8 @@ impure fn parse_item_native_fn(parser p, ast.effect eff) -> @ast.native_item { auto decl = parse_fn_decl(p, eff); auto hi = p.get_span(); expect(p, token.SEMI); - auto item = ast.native_item_fn(t._1, decl, t._2, p.next_def_id()); + auto item = ast.native_item_fn(t._1, decl, t._2, p.next_def_id(), + ast.ann_none); ret @spanned(t._0, hi, item); } |
