aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/gen.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/gen.rs b/src/bin/gen.rs
index 89609bd77..e32f5044e 100644
--- a/src/bin/gen.rs
+++ b/src/bin/gen.rs
@@ -45,7 +45,6 @@ impl Grammar {
45 // enum SyntaxKind 45 // enum SyntaxKind
46 acc.push_str("/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.\n"); 46 acc.push_str("/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.\n");
47 acc.push_str("#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]\n"); 47 acc.push_str("#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]\n");
48 acc.push_str("#[repr(u32)]\n");
49 acc.push_str("pub enum SyntaxKind {\n"); 48 acc.push_str("pub enum SyntaxKind {\n");
50 for kind in syntax_kinds.iter() { 49 for kind in syntax_kinds.iter() {
51 write!(acc, " {},\n", scream(kind)).unwrap(); 50 write!(acc, " {},\n", scream(kind)).unwrap();