Skip to content

Commit 6522f3c

Browse files
committed
Updated comment in Sources/SwiftParser/Statements.swift
1 parent 52de74f commit 6522f3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SwiftParser/Statements.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ extension Parser {
208208
// However, if this is the first clause, and we see "x = y", then this is
209209
// almost certainly a typo for '==' and definitely not a continuation of
210210
// another clause, so parse it as an expression. This also avoids
211-
// lookahead + lookaheading on simple if conditions that are obviously
212-
// boolean conditions.
211+
// lookahead on simple if conditions that are obviously boolean conditions.
213212
return .expression(self.parseExpression(flavor: .stmtCondition, pattern: .none))
214213
}
215214

0 commit comments

Comments
 (0)