aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-11 08:05:26 +0100
committerAleksey Kladov <[email protected]>2018-08-11 08:05:26 +0100
commite69c70e2a208fd89d4d49a104f5516c55546309e (patch)
tree8046552948a5faf704832184ee7c3da23ea8eb2c /crates/libsyntax2/src
parent7698d37fa45735aa090512045605c47f5615e3f5 (diff)
ENUM_ITEM -> ENUM
Diffstat (limited to 'crates/libsyntax2/src')
-rw-r--r--crates/libsyntax2/src/grammar.ron2
-rw-r--r--crates/libsyntax2/src/grammar/items/mod.rs2
-rw-r--r--crates/libsyntax2/src/syntax_kinds/generated.rs4
3 files changed, 4 insertions, 4 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron
index 4d0343747..06a4eb6a7 100644
--- a/crates/libsyntax2/src/grammar.ron
+++ b/crates/libsyntax2/src/grammar.ron
@@ -109,7 +109,7 @@ Grammar(
109 "FILE", 109 "FILE",
110 110
111 "STRUCT", 111 "STRUCT",
112 "ENUM_ITEM", 112 "ENUM",
113 "FUNCTION", 113 "FUNCTION",
114 "EXTERN_CRATE_ITEM", 114 "EXTERN_CRATE_ITEM",
115 "MOD_ITEM", 115 "MOD_ITEM",
diff --git a/crates/libsyntax2/src/grammar/items/mod.rs b/crates/libsyntax2/src/grammar/items/mod.rs
index 1125daed9..be4ff976a 100644
--- a/crates/libsyntax2/src/grammar/items/mod.rs
+++ b/crates/libsyntax2/src/grammar/items/mod.rs
@@ -175,7 +175,7 @@ fn items_without_modifiers(p: &mut Parser) -> Option<SyntaxKind> {
175 } 175 }
176 ENUM_KW => { 176 ENUM_KW => {
177 structs::enum_item(p); 177 structs::enum_item(p);
178 ENUM_ITEM 178 ENUM
179 } 179 }
180 USE_KW => { 180 USE_KW => {
181 use_item::use_item(p); 181 use_item::use_item(p);
diff --git a/crates/libsyntax2/src/syntax_kinds/generated.rs b/crates/libsyntax2/src/syntax_kinds/generated.rs
index 7e7d00d9d..7d2fb60f6 100644
--- a/crates/libsyntax2/src/syntax_kinds/generated.rs
+++ b/crates/libsyntax2/src/syntax_kinds/generated.rs
@@ -109,7 +109,7 @@ pub enum SyntaxKind {
109 SHEBANG, 109 SHEBANG,
110 FILE, 110 FILE,
111 STRUCT, 111 STRUCT,
112 ENUM_ITEM, 112 ENUM,
113 FUNCTION, 113 FUNCTION,
114 EXTERN_CRATE_ITEM, 114 EXTERN_CRATE_ITEM,
115 MOD_ITEM, 115 MOD_ITEM,
@@ -344,7 +344,7 @@ impl SyntaxKind {
344 SHEBANG => &SyntaxInfo { name: "SHEBANG" }, 344 SHEBANG => &SyntaxInfo { name: "SHEBANG" },
345 FILE => &SyntaxInfo { name: "FILE" }, 345 FILE => &SyntaxInfo { name: "FILE" },
346 STRUCT => &SyntaxInfo { name: "STRUCT" }, 346 STRUCT => &SyntaxInfo { name: "STRUCT" },
347 ENUM_ITEM => &SyntaxInfo { name: "ENUM_ITEM" }, 347 ENUM => &SyntaxInfo { name: "ENUM" },
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" },
350 MOD_ITEM => &SyntaxInfo { name: "MOD_ITEM" }, 350 MOD_ITEM => &SyntaxInfo { name: "MOD_ITEM" },