8000 [libSyntax] Represent raw string delimiters · swiftlang/swift-syntax@97497dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 97497dc

Browse files
Jan Svobodarintaro
Jan Svoboda
authored andcommitted
[libSyntax] Represent raw string delimiters
(cherry picked from commit a085c5b)
1 parent c21a009 commit 97497dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/SwiftSyntax/SyntaxFactory.swift.gyb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,11 @@ public enum SyntaxFactory {
206206
let segments = makeStringLiteralSegments([segment])
207207
let openQuote = makeStringQuoteToken(leadingTrivia: leadingTrivia)
208208
let closeQuote = makeStringQuoteToken(trailingTrivia: trailingTrivia)
209-
return makeStringLiteralExpr(openQuote: openQuote,
209+
return makeStringLiteralExpr(openDelimiter: nil,
210+
openQuote: openQuote,
210211
segments: segments,
211-
closeQuote: closeQuote)
212+
closeQuote: closeQuote,
213+
closeDelimiter: nil)
212214
}
213215

214216
public static func makeVariableExpr(_ text: String,

0 commit comments

Comments
 (0)
0