File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed
TSPL.docc/ReferenceManual Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -596,15 +596,22 @@ or a playground literal.
596
596
597
597
> Note:
598
598
> Prior to Swift 5.9,
599
- > the following special literals were recognized,
600
- > which are now implemented as macros in the Swift standard library:
599
+ > the following special literals were recognized:
601
600
> ` #column ` ,
602
601
> ` #dsohandle ` ,
603
602
> ` #fileID ` ,
604
603
> ` #filePath ` ,
605
604
> ` #file ` ,
606
605
> ` #function ` ,
607
606
> and ` #line ` .
607
+ > These are now implemented as macros in the Swift standard library:
608
+ > [ ` column ` ] ( https://developer.apple.com/documentation/swift/column ) ,
609
+ > [ ` dsohandle ` ] ( https://developer.apple.com/documentation/swift/dsohandle ) ,
610
+ > [ ` fileID ` ] ( https://developer.apple.com/documentation/swift/fileID ) ,
611
+ > [ ` filePath ` ] ( https://developer.apple.com/documentation/swift/filePath ) ,
612
+ > [ ` file ` ] ( https://developer.apple.com/documentation/swift/file ) ,
613
+ > [ ` function ` ] ( https://developer.apple.com/documentation/swift/function ) ,
614
+ > and [ ` line ` ] ( https://developer.apple.com/documentation/swift/line ) .
608
615
609
616
<!--
610
617
- test: `pound-file-flavors`
Original file line number Diff line number Diff line change @@ -371,6 +371,7 @@ so they must be escaped with backticks in that context.
371
371
` #elseif ` ,
372
372
` #else ` ,
373
373
` #endif ` ,
374
+ ` #fileLiteral ` ,
374
375
` #if ` ,
375
376
` #imageLiteral ` ,
376
377
` #keyPath ` ,
@@ -379,18 +380,26 @@ so they must be escaped with backticks in that context.
379
380
380
381
> Note:
381
382
> Prior to Swift 5.9,
382
- > the following keywords are reserved,
383
- > which are now implemented as macros in the Swift standard library:
383
+ > the following keywords were reserved:
384
384
> ` #column ` ,
385
385
> ` #dsohandle ` ,
386
386
> ` #error ` ,
387
387
> ` #fileID ` ,
388
- > ` #fileLiteral ` ,
389
388
> ` #filePath ` ,
390
389
> ` #file ` ,
391
390
> ` #function ` ,
392
391
> ` #line ` ,
393
392
> and ` #warning ` .
393
+ > These are now implemented as macros in the Swift standard library:
394
+ > [ ` column ` ] ( https://developer.apple.com/documentation/swift/column ) ,
395
+ > [ ` dsohandle ` ] ( https://developer.apple.com/documentation/swift/dsohandle ) ,
396
+ > [ ` error(_:) ` ] ( https://developer.apple.com/documentation/swift/error(_:) ) ,
397
+ > [ ` fileID ` ] ( https://developer.apple.com/documentation/swift/fileID ) ,
398
+ > [ ` filePath ` ] ( https://developer.apple.com/documentation/swift/filePath ) ,
399
+ > [ ` file ` ] ( https://developer.apple.com/documentation/swift/file ) ,
400
+ > [ ` function ` ] ( https://developer.apple.com/documentation/swift/function ) ,
401
+ > [ ` line ` ] ( https://developer.apple.com/documentation/swift/line ) ,
402
+ > and [ ` warning(_:) ` ] ( https://developer.apple.com/documentation/swift/warning(_:) ) .
394
403
395
404
<!--
396
405
Token.py includes #assert,
You can’t perform that action at this time.
0 commit comments