Added the LCURLY for switch statements
This commit is contained in:
parent
2cca9c57c9
commit
e9faeb047f
|
|
@ -507,7 +507,7 @@ traditionalStatement
|
|||
| "return"^ (expression)? SEMI!
|
||||
|
||||
// switch/case statement
|
||||
| "switch"^ LPAREN! expression RPAREN! LCURLY!
|
||||
| "switch"^ LPAREN! expression RPAREN! LCURLY
|
||||
( casesGroup )*
|
||||
RCURLY
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue