Newsgroups: comp.sys.sgi
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!boulder!rainer
From: rainer@boulder.Colorado.EDU (Rainer Malzbender)
Subject: C Bug (he meekly asks) ?
Message-ID: <1991Mar26.235622.20057@colorado.edu>
Sender: news@colorado.edu (The Daily Planet)
Nntp-Posting-Host: rhubarb.colorado.edu
Organization: /usr/local/lib/rn/organization
References: <6627@oasys.dt.navy.mil>
Date: Tue, 26 Mar 1991 23:56:22 GMT

I inadvertently typed "case_3:" instead of "case 3:" in a 'switch'
statement. Now I'm certainly no guru on the arcane features of the
C language, but shouldn't this be illegal and at least cause a
compiler error? My program compiled and ran fine. As far as I can tell
from the .s output (I don't grok R3000 assembler) it just trashed
the whole clause.

--
Rainer Malzbender, PhD  "It's not the bullet that kills you, it's the hole."
Dept. of Physics (303)492-6829                             -Laurie Anderson
U. of Colorado, Boulder         rainer@boulder.colorado.edu 128.138.240.246
