From: Chris Cacciatore Date: Mon, 15 Aug 2016 02:55:03 +0000 (-0700) Subject: Removed check for LCURLY in switch statements. X-Git-Tag: V2.16~79^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3bd3fd874994a669a554b41e3b9d3b31f3c65534;p=cc65 Removed check for LCURLY in switch statements. --- diff --git a/src/cc65/swstmt.c b/src/cc65/swstmt.c index 0aefc051c..f71c3e40a 100644 --- a/src/cc65/swstmt.c +++ b/src/cc65/swstmt.c @@ -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 */