mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Syntax] Remove unused 'SwitchUnknownLabel'
This commit is contained in:
@@ -274,13 +274,6 @@ STMT_NODES = [
|
||||
Child('Colon', kind='ColonToken'),
|
||||
]),
|
||||
|
||||
# switch-unknown-label -> 'unknown' ':'
|
||||
Node('SwitchUnknownLabel', kind='Syntax',
|
||||
children=[
|
||||
Child('UnknownKeyword', kind='Token'),
|
||||
Child('Colon', kind='ColonToken'),
|
||||
]),
|
||||
|
||||
# case-item -> pattern where-clause? ','?
|
||||
Node('CaseItem', kind='Syntax',
|
||||
traits=['WithTrailingComma'],
|
||||
|
||||
Reference in New Issue
Block a user