mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 00:07:21 +00:00
Removed check for LCURLY in switch statements.
This commit is contained in:
parent
0ad1880c42
commit
3bd3fd8749
@ -144,11 +144,6 @@ void SwitchStatement (void)
|
||||
/* Create a loop so we may use break. */
|
||||
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
|
||||
** statement because of the curly brace at the current input position
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user