From 3bd3fd874994a669a554b41e3b9d3b31f3c65534 Mon Sep 17 00:00:00 2001 From: Chris Cacciatore Date: Sun, 14 Aug 2016 19:55:03 -0700 Subject: [PATCH] Removed check for LCURLY in switch statements. --- src/cc65/swstmt.c | 5 ----- 1 file changed, 5 deletions(-) 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 */ -- 2.39.5