From 14c0ee90cae44b7b0d807723768dc6bd73c64ba3 Mon Sep 17 00:00:00 2001 From: Christopher Durham Date: Sun, 28 Jan 2018 04:31:18 -0500 Subject: Update gen.rs --- src/bin/gen.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/bin') 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 { // enum SyntaxKind acc.push_str("/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.\n"); acc.push_str("#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]\n"); - acc.push_str("#[repr(u32)]\n"); acc.push_str("pub enum SyntaxKind {\n"); for kind in syntax_kinds.iter() { write!(acc, " {},\n", scream(kind)).unwrap(); -- cgit v1.2.3