aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/front/parser.rs')
-rw-r--r--src/comp/front/parser.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index c8130b0b..4a9f37f0 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -1964,6 +1964,8 @@ impure fn parse_item_native_mod(parser p) -> @ast.item {
if (_str.eq(t, "cdecl")) {
} else if (_str.eq(t, "rust")) {
abi = ast.native_abi_rust;
+ } else if (_str.eq(t, "llvm")) {
+ abi = ast.native_abi_llvm;
} else {
p.err("unsupported abi: " + t);
fail;