about summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
authorJesse Ruderman <jruderman@gmail.com>2011-07-10 16:09:12 -0700
committerBrian Anderson <banderson@mozilla.com>2011-07-10 17:05:25 -0700
commitea69f48eacec7052c31e6443dbe6ac9ecf6de3a9 (patch)
treeb7302fde87e28767c947c77c6fe7402354ad95d4 /src/comp/syntax
parentab50da94452afd340e7c5418e24cce160c37c3dd (diff)
downloadrust-ea69f48eacec7052c31e6443dbe6ac9ecf6de3a9.tar.gz
rust-ea69f48eacec7052c31e6443dbe6ac9ecf6de3a9.zip
Add a missing case so nbody.rs can pp
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/print/pprust.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs
index 021c5b26b3c..0543b01128e 100644
--- a/src/comp/syntax/print/pprust.rs
+++ b/src/comp/syntax/print/pprust.rs
@@ -404,6 +404,7 @@ fn print_item(&ps s, &@ast::item item) {
         case (ast::item_native_mod(?nmod)) {
             head(s, "native");
             alt (nmod.abi) {
+                case (ast::native_abi_llvm) { word_nbsp(s, "\"llvm\""); }
                 case (ast::native_abi_rust) { word_nbsp(s, "\"rust\""); }
                 case (ast::native_abi_cdecl) { word_nbsp(s, "\"cdecl\""); }
                 case (ast::native_abi_rust_intrinsic) {