[project @ 1998-01-29 11:42:57 by simonm]
authorsimonm <unknown>
Thu, 29 Jan 1998 11:42:57 +0000 (11:42 +0000)
committersimonm <unknown>
Thu, 29 Jan 1998 11:42:57 +0000 (11:42 +0000)
protect some sections for the !OMIT_NATIVE_CODEGEN case.

ghc/compiler/absCSyn/CLabel.lhs

index ce23e2b..94b84e5 100644 (file)
@@ -311,14 +311,18 @@ pprCLabel_asm = pprCLabel
 
 pprCLabel :: CLabel -> SDoc
 
+#if ! OMIT_NATIVE_CODEGEN
 pprCLabel (AsmTempLabel u)
   = text (fmtAsmLbl (showUnique u))
+#endif
 
-pprCLabel lbl
-  = getPprStyle $ \ sty ->
+pprCLabel lbl = 
+#if ! OMIT_NATIVE_CODEGEN
+    getPprStyle $ \ sty ->
     if asmStyle sty && underscorePrefix then
        pp_cSEP <> pprCLbl lbl
     else
+#endif
        pprCLbl lbl