Skip to content

Commit c26399c

Browse files
committed
Make yielding a plain decl modifier instead of a new node type
1 parent 3303255 commit c26399c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

CodeGeneration/Sources/SyntaxSupport/DeclNodes.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ public let DECL_NODES: [Node] = [
180180
]
181181
),
182182

183-
Node(
184-
kind: .accessorYieldingModifier,
185-
base: .syntax,
186-
nameForDiagnostics: nil,
187-
),
188-
189183
Node(
190184
kind: .actorDecl,
191185
base: .decl,
@@ -501,6 +495,7 @@ public let DECL_NODES: [Node] = [
501495
.keyword(.unowned),
502496
.keyword(.weak),
503497
.keyword(.sending),
498+
.keyword(.yielding),
504499
])
505500
),
506501
Child(

0 commit comments

Comments
 (0)