/** * "case" label */ void docase(void) { int val; val = 0; if (readswitch ()) { if (!number (&val)) if (!quoted_char (&val)) error ("bad case label"); addcase (val); if (!match (":")) error ("missing colon"); } else error ("no active switch"); }
/* * "case" label */ void docase (void ) { INTPTR_T val; val = 0; if (readswitch ()) { if (!number (&val)) if (!pstr (&val)) error ("bad case label"); addcase (val); if (!match (":")) error ("missing colon"); } else error ("no active switch"); }