diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-01-28 20:14:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-01-28 20:14:24 +0000 |
commit | 94caa9d3a2c645df5c0f2d332bc001831119484d (patch) | |
tree | 8590725d71429399cf43565879e8a444f19f2113 /src/syntax_kinds.rs | |
parent | ab81e4c7b4383a153145752059be59e17571fad3 (diff) | |
parent | 55e2a478be04bdaba164ea92160e52a6fea5abe5 (diff) |
Merge #31
31: Parse enums r=matklad a=matklad
Diffstat (limited to 'src/syntax_kinds.rs')
-rw-r--r-- | src/syntax_kinds.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs index b6c281cd5..519326f48 100644 --- a/src/syntax_kinds.rs +++ b/src/syntax_kinds.rs | |||
@@ -76,6 +76,8 @@ pub enum SyntaxKind { | |||
76 | SHEBANG, | 76 | SHEBANG, |
77 | FILE, | 77 | FILE, |
78 | STRUCT_ITEM, | 78 | STRUCT_ITEM, |
79 | ENUM_ITEM, | ||
80 | ENUM_VARIANT, | ||
79 | NAMED_FIELD, | 81 | NAMED_FIELD, |
80 | POS_FIELD, | 82 | POS_FIELD, |
81 | FN_ITEM, | 83 | FN_ITEM, |
@@ -176,6 +178,8 @@ impl SyntaxKind { | |||
176 | SHEBANG => &SyntaxInfo { name: "SHEBANG" }, | 178 | SHEBANG => &SyntaxInfo { name: "SHEBANG" }, |
177 | FILE => &SyntaxInfo { name: "FILE" }, | 179 | FILE => &SyntaxInfo { name: "FILE" }, |
178 | STRUCT_ITEM => &SyntaxInfo { name: "STRUCT_ITEM" }, | 180 | STRUCT_ITEM => &SyntaxInfo { name: "STRUCT_ITEM" }, |
181 | ENUM_ITEM => &SyntaxInfo { name: "ENUM_ITEM" }, | ||
182 | ENUM_VARIANT => &SyntaxInfo { name: "ENUM_VARIANT" }, | ||
179 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, | 183 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, |
180 | POS_FIELD => &SyntaxInfo { name: "POS_FIELD" }, | 184 | POS_FIELD => &SyntaxInfo { name: "POS_FIELD" }, |
181 | FN_ITEM => &SyntaxInfo { name: "FN_ITEM" }, | 185 | FN_ITEM => &SyntaxInfo { name: "FN_ITEM" }, |