Skip to content

Commit afa7060

Browse files
committed
Rename Lexer.isAtStartOfPostfixExprSuffix back
1 parent 75ad955 commit afa7060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftParser/Expressions.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ extension Parser {
874874
}
875875
} while lookahead.at(.poundIf) && lookahead.hasProgressed(&loopProgress)
876876

877-
guard lookahead.atStartOfPostfixExprSuffix() else {
877+
guard lookahead.isAtStartOfPostfixExprSuffix() else {
878878
break
879879
}
880880
}
@@ -2487,7 +2487,7 @@ extension Parser.Lookahead {
24872487
extension Parser.Lookahead {
24882488
// Helper function to see if we can parse member reference like suffixes
24892489
// inside '#if'.
2490-
fileprivate mutating func atStartOfPostfixExprSuffix() -> Bool {
2490+
fileprivate mutating func isAtStartOfPostfixExprSuffix() -> Bool {
24912491
guard self.at(.period) else {
24922492
return false
24932493
}

0 commit comments

Comments
 (0)