Skip to content

Commit 8022a41

Browse files
authored
Add #unavailable to list of keywords (#243)
Fixes: #230
2 parents 4a296e8 + 5d896ab commit 8022a41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

TSPL.docc/ReferenceManual/LexicalStructure.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,15 +316,16 @@ so they must be escaped with backticks in that context.
316316
- Keywords that begin with a number sign (`#`):
317317
`#available`,
318318
`#colorLiteral`,
319-
`#elseif`,
320319
`#else`,
320+
`#elseif`,
321321
`#endif`,
322322
`#fileLiteral`,
323323
`#if`,
324324
`#imageLiteral`,
325325
`#keyPath`,
326326
`#selector`,
327-
`#sourceLocation`.
327+
`#sourceLocation`,
328+
`#unavailable`.
328329

329330
> Note:
330331
> Prior to Swift 5.9,

0 commit comments

Comments
 (0)