Skip to content

Commit a1a285d

Browse files
mrcljxnkcsgexi
authored andcommitted
[Syntax] Serialize contextual_keyword text. (#13647)
1 parent 321ce78 commit a1a285d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/swift/Syntax/Serialization/SyntaxSerialization.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ struct ObjectTraits<TokenDescription> {
142142
static void mapping(Output &out, TokenDescription &value) {
143143
out.mapRequired("kind", value.Kind);
144144
switch (value.Kind) {
145+
case tok::contextual_keyword:
145146
case tok::integer_literal:
146147
case tok::floating_literal:
147148
case tok::string_literal:

0 commit comments

Comments
 (0)