Closed phil-s closed 2 years ago
If you have this:
switch ($condition) { case 'one': case 'two':
Then the remainder of the file from case 'two': onwards is highlighted red.
case 'two':
Comments here are interesting too...
switch ($condition) { case 'zero': // Comment 0 $code1; break; case 'one': // Comment 1 case 'two':
Here // Comment 1 is the first line highlighted red (plus everything that follows).
// Comment 1
Strange I didn't see this issue until now, I found the issues myself too but recently, need to dig into the grammar to understand how the kind of code is valid
Fixed in this commit
If you have this:
Then the remainder of the file from
case 'two':
onwards is highlighted red.Comments here are interesting too...
Here
// Comment 1
is the first line highlighted red (plus everything that follows).