def p_case_block(self, p):
statements = []<EOL>for s in p[<NUM_LIT:2>:-<NUM_LIT:1>]:<EOL><INDENT>if isinstance(s, list):<EOL><INDENT>for i in s:<EOL><INDENT>statements.append(i)<EOL><DEDENT><DEDENT>elif isinstance(s, self.asttypes.Default):<EOL><INDENT>statements.append(s)<EOL><DEDENT><DEDENT>p[<NUM_LIT:0>] = self.asttypes.CaseBlock(statements)<EOL>p[<NUM_LIT:0>].setpos(p)<EOL>
case_block \
    : LBRACE case_clauses_opt RBRACE
    | LBRACE case_clauses_opt default_clause case_clauses_opt RBRACE