@@ -370,7 +370,7 @@ public Derived(DateTime exportDate) : base(exportDate) {
370370/// ^ meta.method meta.block meta.block punctuation.section.block.end
371371
372372 switch ( foo ) {
373- /// ^^^^^^ keyword.control.flow .switch
373+ /// ^^^^^^ keyword.control.conditional .switch
374374/// ^^^^^ meta.group
375375/// ^ punctuation.section.group.begin
376376/// ^^^ variable.other
@@ -385,43 +385,43 @@ public Derived(DateTime exportDate) : base(exportDate) {
385385 break ;
386386/// ^ keyword.control
387387 case BLBodyBattleLibrary . ContextType . TapUp :
388- /// ^^^^ keyword.control.switch .case
388+ /// ^^^^ keyword.control.conditional .case
389389/// ^^^^^^^^^^^^^^^^^^^ variable.other
390390/// ^ punctuation.accessor.dot
391391/// ^^^^^^^^^^^ variable.other
392392/// ^ punctuation.accessor.dot
393393/// ^^^^^ constant.other
394394/// ^ punctuation.separator.case-statement
395395 case BindingFlags . Static :
396- /// ^^^^ keyword.control.switch .case
396+ /// ^^^^ keyword.control.conditional .case
397397/// ^^^^^^^^^^^^ variable.other
398398/// ^ punctuation.accessor.dot
399399/// ^^^^^^ constant.other
400400/// ^ punctuation.separator.case-statement
401401 case test :
402- /// ^^^^ keyword.control.switch .case
402+ /// ^^^^ keyword.control.conditional .case
403403/// ^^^^ constant.other
404404/// ^ punctuation.separator.case-statement
405405 case this . test ;
406- /// ^^^^ keyword.control.switch .case
406+ /// ^^^^ keyword.control.conditional .case
407407/// ^^^^ variable.language.this
408408/// ^ punctuation.accessor.dot
409409 case 1 * 2 :
410- /// ^^^^ keyword.control.switch .case
410+ /// ^^^^ keyword.control.conditional .case
411411/// ^ constant.numeric
412412/// ^ keyword.operator
413413/// ^ constant.numeric
414414/// ^ punctuation.separator.case-statement
415415 case bar ( "hello" ) :
416- /// ^^^^ keyword.control.switch .case
416+ /// ^^^^ keyword.control.conditional .case
417417/// ^^^ variable.function
418418/// ^ punctuation.section.group.begin
419419/// ^^^^^^^ string.quoted.double
420420/// ^ punctuation.section.group.end
421421/// ^ punctuation.separator.case-statement
422422 break ;
423423 case abc . def :
424- /// ^^^^ keyword.control.switch .case
424+ /// ^^^^ keyword.control.conditional .case
425425/// ^^^ variable.other
426426/// ^ punctuation.accessor.dot
427427/// ^^^ constant.other
@@ -1157,14 +1157,14 @@ void TestMe () {
11571157 result += 4 ;
11581158 goto case 'b' ;
11591159/// ^^^^ keyword.control.flow.goto
1160- /// ^^^^ keyword.control.switch .case
1160+ /// ^^^^ keyword.control.conditional .case
11611161/// ^^^ meta.string string.quoted.single
11621162/// ^ punctuation.definition.string.begin
11631163/// ^ constant.character.literal
11641164/// ^ punctuation.definition.string.end
11651165/// ^ punctuation.terminator.statement
11661166 case 'b' :
1167- /// ^^^^ keyword.control.switch .case - invalid
1167+ /// ^^^^ keyword.control.conditional .case - invalid
11681168/// ^^^ meta.string string.quoted.single
11691169/// ^ punctuation.definition.string.begin
11701170/// ^ constant.character.literal
@@ -1174,6 +1174,13 @@ void TestMe () {
11741174 case 'c' :
11751175 result += 8 ;
11761176 break ;
1177+
1178+ default :
1179+ /// ^^^^^^^ keyword.control.conditional.default
1180+ /// ^ punctuation.separator.case-statement
1181+ break ;
1182+ /// ^^^^^ keyword.control.flow.break
1183+ /// ^ punctuation.terminator.statement
11771184 }
11781185
11791186 int foo ;
0 commit comments