File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -721,6 +721,9 @@ extension Parser {
721
721
case . __file__Keyword:
722
722
let tok = self . eat ( . __file__Keyword)
723
723
return RawExprSyntax ( RawPoundFileExprSyntax ( poundFile: tok, arena: self . arena) )
724
+ case . poundFileIDKeyword:
725
+ let tok = self . eat ( . poundFileIDKeyword)
726
+ return RawExprSyntax ( RawPoundFileIDExprSyntax ( poundFileID: tok, arena: self . arena) )
724
727
case . poundFileKeyword:
725
728
let tok = self . eat ( . poundFileKeyword)
726
729
return RawExprSyntax ( RawPoundFileExprSyntax ( poundFile: tok, arena: self . arena) )
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ final class ExpressionTests: XCTestCase {
86
86
AssertParse (
87
87
"""
88
88
#file
89
+ #fileID
89
90
(#line)
90
91
#column
91
92
#function
You can’t perform that action at this time.
0 commit comments