diff options
Diffstat (limited to 'crates/libsyntax2/src')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 2 | ||||
-rw-r--r-- | crates/libsyntax2/src/grammar/items/mod.rs | 2 | ||||
-rw-r--r-- | crates/libsyntax2/src/syntax_kinds/generated.rs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 22c61e949..4d0343747 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -108,7 +108,7 @@ Grammar( | |||
108 | nodes: [ | 108 | nodes: [ |
109 | "FILE", | 109 | "FILE", |
110 | 110 | ||
111 | "STRUCT_ITEM", | 111 | "STRUCT", |
112 | "ENUM_ITEM", | 112 | "ENUM_ITEM", |
113 | "FUNCTION", | 113 | "FUNCTION", |
114 | "EXTERN_CRATE_ITEM", | 114 | "EXTERN_CRATE_ITEM", |
diff --git a/crates/libsyntax2/src/grammar/items/mod.rs b/crates/libsyntax2/src/grammar/items/mod.rs index 3bf906f85..1125daed9 100644 --- a/crates/libsyntax2/src/grammar/items/mod.rs +++ b/crates/libsyntax2/src/grammar/items/mod.rs | |||
@@ -171,7 +171,7 @@ fn items_without_modifiers(p: &mut Parser) -> Option<SyntaxKind> { | |||
171 | consider removing this semicolon" | 171 | consider removing this semicolon" |
172 | ); | 172 | ); |
173 | } | 173 | } |
174 | STRUCT_ITEM | 174 | STRUCT |
175 | } | 175 | } |
176 | ENUM_KW => { | 176 | ENUM_KW => { |
177 | structs::enum_item(p); | 177 | structs::enum_item(p); |
diff --git a/crates/libsyntax2/src/syntax_kinds/generated.rs b/crates/libsyntax2/src/syntax_kinds/generated.rs index de2807ba6..7e7d00d9d 100644 --- a/crates/libsyntax2/src/syntax_kinds/generated.rs +++ b/crates/libsyntax2/src/syntax_kinds/generated.rs | |||
@@ -108,7 +108,7 @@ pub enum SyntaxKind { | |||
108 | DOC_COMMENT, | 108 | DOC_COMMENT, |
109 | SHEBANG, | 109 | SHEBANG, |
110 | FILE, | 110 | FILE, |
111 | STRUCT_ITEM, | 111 | STRUCT, |
112 | ENUM_ITEM, | 112 | ENUM_ITEM, |
113 | FUNCTION, | 113 | FUNCTION, |
114 | EXTERN_CRATE_ITEM, | 114 | EXTERN_CRATE_ITEM, |
@@ -343,7 +343,7 @@ impl SyntaxKind { | |||
343 | DOC_COMMENT => &SyntaxInfo { name: "DOC_COMMENT" }, | 343 | DOC_COMMENT => &SyntaxInfo { name: "DOC_COMMENT" }, |
344 | SHEBANG => &SyntaxInfo { name: "SHEBANG" }, | 344 | SHEBANG => &SyntaxInfo { name: "SHEBANG" }, |
345 | FILE => &SyntaxInfo { name: "FILE" }, | 345 | FILE => &SyntaxInfo { name: "FILE" }, |
346 | STRUCT_ITEM => &SyntaxInfo { name: "STRUCT_ITEM" }, | 346 | STRUCT => &SyntaxInfo { name: "STRUCT" }, |
347 | ENUM_ITEM => &SyntaxInfo { name: "ENUM_ITEM" }, | 347 | ENUM_ITEM => &SyntaxInfo { name: "ENUM_ITEM" }, |
348 | FUNCTION => &SyntaxInfo { name: "FUNCTION" }, | 348 | FUNCTION => &SyntaxInfo { name: "FUNCTION" }, |
349 | EXTERN_CRATE_ITEM => &SyntaxInfo { name: "EXTERN_CRATE_ITEM" }, | 349 | EXTERN_CRATE_ITEM => &SyntaxInfo { name: "EXTERN_CRATE_ITEM" }, |