[project @ 2001-01-16 11:59:06 by simonmar]
authorsimonmar <unknown>
Tue, 16 Jan 2001 11:59:06 +0000 (11:59 +0000)
committersimonmar <unknown>
Tue, 16 Jan 2001 11:59:06 +0000 (11:59 +0000)
this isn't legal C, apparently:

switch (e) {
label:
}

without at least one statement between the label and the end block.

ghc/rts/Schedule.c

index d8491ae..4528180 100644 (file)
@@ -1,5 +1,5 @@
 /* ---------------------------------------------------------------------------
- * $Id: Schedule.c,v 1.85 2000/12/19 16:38:15 sewardj Exp $
+ * $Id: Schedule.c,v 1.86 2001/01/16 11:59:06 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2000
  *
@@ -3016,7 +3016,7 @@ detectBlackHoles( void )
            break;
        }
 
-    done:
+    done: ;
     }   
 }