File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -215,14 +215,14 @@ extension Lexer.Cursor {
215
215
case UInt8 ( ascii: " / " ) :
216
216
if self . input. baseAddress! - 1 != bufferBegin. input. baseAddress
217
217
&& self . input. baseAddress!. advanced ( by: - 2 ) . pointee == UInt8 ( ascii: " * " ) {
218
- return false ; // End of a slash-star comment, so whitespace.
218
+ return false // End of a slash-star comment, so whitespace.
219
219
} else {
220
220
return true
221
221
}
222
222
case 0xA0 :
223
223
if self . input. baseAddress! - 1 != bufferBegin. input. baseAddress
224
224
&& self . input. baseAddress!. advanced ( by: - 2 ) . pointee == 0xC2 {
225
- return false ; // End of a slash-star comment, so whitespace.
225
+ return false // End of a Non-breaking whitespace (U+00A0) .
226
226
} else {
227
227
return true
228
228
}
@@ -246,7 +246,7 @@ extension Lexer.Cursor {
246
246
// if (tokEnd == codeCompletionPtr) { // code-completion
247
247
// return true
248
248
// }
249
- return false ; // whitespace / last char in file
249
+ return false // whitespace / last char in file
250
250
251
251
case UInt8 ( ascii: " . " ) :
252
252
// Prefer the '^' in "x^.y" to be a postfix op, not binary, but the '^' in
@@ -262,7 +262,7 @@ extension Lexer.Cursor {
262
262
}
263
263
case 0xC2 :
264
264
if self . input. count > 1 , self . peek ( at: 1 ) == 0xA0 {
265
- return false ; // Non-breaking whitespace (U+00A0)
265
+ return false // Non-breaking whitespace (U+00A0)
266
266
} else {
267
267
return true
268
268
}
You can’t perform that action at this time.
0 commit comments