Removed check for LCURLY in switch statements.
This commit is contained in:
@@ -144,11 +144,6 @@ void SwitchStatement (void)
|
|||||||
/* Create a loop so we may use break. */
|
/* Create a loop so we may use break. */
|
||||||
AddLoop (ExitLabel, 0);
|
AddLoop (ExitLabel, 0);
|
||||||
|
|
||||||
/* Make sure a curly brace follows */
|
|
||||||
if (CurTok.Tok != TOK_LCURLY) {
|
|
||||||
Error ("`{' expected");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Parse the following statement, which will actually be a compound
|
/* Parse the following statement, which will actually be a compound
|
||||||
** statement because of the curly brace at the current input position
|
** statement because of the curly brace at the current input position
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user