We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8672546 commit 719d14cCopy full SHA for 719d14c
Sources/SwiftSyntaxBuilderGeneration/Child.swift
@@ -101,7 +101,7 @@ class Child {
101
mappedTokenChoices.append(token)
102
}
103
104
- mappedTokenChoices.append(contentsOf: tokenChoices.compactMap { SYNTAX_TOKEN_MAP[$0] })
+ mappedTokenChoices.append(contentsOf: tokenChoices.compactMap { SYNTAX_TOKEN_MAP["\($0)Token"] })
105
self.tokenChoices = mappedTokenChoices
106
107
// A list of valid text for tokens, if specified.
0 commit comments