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 8c76dc3 commit 609cca7Copy full SHA for 609cca7
Sources/SwiftParser/Lexer.swift
@@ -1029,7 +1029,7 @@ extension Lexer.Cursor {
1029
}
1030
if !self.isAtEndOfFile, self.peek() == UInt8(ascii: "\\") &&
1031
TmpPtr.delimiterMatches(customDelimiterLength) &&
1032
- TmpPtr.advance() == UInt8(ascii: "(") {
+ TmpPtr.peek() == UInt8(ascii: "(") {
1033
// Consume tokens until we hit the corresponding ')'.
1034
self = Self.skipToEndOfInterpolatedExpression(TmpPtr, IsMultilineString)
1035
if self.advance(if: { $0 == Unicode.Scalar(")") }) {
0 commit comments