Skip to content

Commit 7dba7ca

Browse files
committed
Fix syntax error
1 parent 38afba0 commit 7dba7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/parsing/Scanners.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ object Scanners {
233233
following = copy :: following
234234
}
235235

236-
/** If following is empty, invalidate token data `td` by setting
236+
/** If following is empty, invalidate token data `td` by setting
237237
* `td.token` to `EMPTY`. Otherwise pop head of `following` into `td`.
238238
*/
239-
private def popCopy(td: TokenData) = {
239+
private def popCopy(td: TokenData) =
240240
if (following.isEmpty) td.token = EMPTY
241241
else {
242242
td.copyFrom(following.head)

0 commit comments

Comments
 (0)