diff options
Diffstat (limited to 'src/syntax_kinds.rs')
-rw-r--r-- | src/syntax_kinds.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs index 53ea0775a..b82a4f7f2 100644 --- a/src/syntax_kinds.rs +++ b/src/syntax_kinds.rs | |||
@@ -66,8 +66,9 @@ pub const STRUCT_FIELD: SyntaxKind = SyntaxKind(61); | |||
66 | pub const FN_ITEM: SyntaxKind = SyntaxKind(62); | 66 | pub const FN_ITEM: SyntaxKind = SyntaxKind(62); |
67 | pub const ATTR: SyntaxKind = SyntaxKind(63); | 67 | pub const ATTR: SyntaxKind = SyntaxKind(63); |
68 | pub const META_ITEM: SyntaxKind = SyntaxKind(64); | 68 | pub const META_ITEM: SyntaxKind = SyntaxKind(64); |
69 | pub const LITERAL: SyntaxKind = SyntaxKind(65); | ||
69 | 70 | ||
70 | static INFOS: [SyntaxInfo; 65] = [ | 71 | static INFOS: [SyntaxInfo; 66] = [ |
71 | SyntaxInfo { name: "USE_KW" }, | 72 | SyntaxInfo { name: "USE_KW" }, |
72 | SyntaxInfo { name: "FN_KW" }, | 73 | SyntaxInfo { name: "FN_KW" }, |
73 | SyntaxInfo { name: "STRUCT_KW" }, | 74 | SyntaxInfo { name: "STRUCT_KW" }, |
@@ -133,6 +134,7 @@ static INFOS: [SyntaxInfo; 65] = [ | |||
133 | SyntaxInfo { name: "FN_ITEM" }, | 134 | SyntaxInfo { name: "FN_ITEM" }, |
134 | SyntaxInfo { name: "ATTR" }, | 135 | SyntaxInfo { name: "ATTR" }, |
135 | SyntaxInfo { name: "META_ITEM" }, | 136 | SyntaxInfo { name: "META_ITEM" }, |
137 | SyntaxInfo { name: "LITERAL" }, | ||
136 | ]; | 138 | ]; |
137 | 139 | ||
138 | pub(crate) fn syntax_info(kind: SyntaxKind) -> &'static SyntaxInfo { | 140 | pub(crate) fn syntax_info(kind: SyntaxKind) -> &'static SyntaxInfo { |