1
0
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:
Chris Cacciatore 2016-08-14 19:55:03 -07:00
parent 0ad1880c42
commit 3bd3fd8749

View File

@ -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
*/