aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <[email protected]>2011-02-23 14:10:02 -0500
committerRafael Ávila de Espíndola <[email protected]>2011-02-23 14:10:02 -0500
commit5f6110a4db9639dd8c21f976dc2c3f34ede3e038 (patch)
tree6ff179a6f79999ff491515b7dcd64ceb82b3239d /src/comp
parentParse the abi in native modules. (diff)
downloadrust-5f6110a4db9639dd8c21f976dc2c3f34ede3e038.tar.xz
rust-5f6110a4db9639dd8c21f976dc2c3f34ede3e038.zip
Use the computed abi :-(
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/front/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index 03b24e4e..eb073e00 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -1776,7 +1776,7 @@ impure fn parse_item_native_mod(parser p) -> @ast.item {
native_name = default_native_name(p.get_session(), id);
}
expect(p, token.LBRACE);
- auto m = parse_native_mod_items(p, native_name, ast.native_abi_cdecl);
+ auto m = parse_native_mod_items(p, native_name, abi);
auto hi = p.get_span();
expect(p, token.RBRACE);
auto item = ast.item_native_mod(id, m, p.next_def_id());