Add a missing case so nbody.rs can pp

This commit is contained in:
Jesse Ruderman
2011-07-10 16:09:12 -07:00
committed by Brian Anderson
parent ab50da9445
commit ea69f48eac

View File

@@ -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) {