aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Durham <[email protected]>2018-01-28 09:31:18 +0000
committerGitHub <[email protected]>2018-01-28 09:31:18 +0000
commit14c0ee90cae44b7b0d807723768dc6bd73c64ba3 (patch)
treea8dbeb99a88011d9ffd504660ad0f28ada341c96 /src
parentfde9d3ca43d57f78e3df02d7fe9bcf0e08c9c117 (diff)
Update gen.rs
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();