From 1a25cb0b1e0f81e7b76c0b41b94d18eca3bd3bfb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 7 Aug 2018 14:52:03 +0300 Subject: simplify unary expr grammar --- src/syntax_kinds/generated.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/syntax_kinds') diff --git a/src/syntax_kinds/generated.rs b/src/syntax_kinds/generated.rs index c8ddf333c..cf286a0f1 100644 --- a/src/syntax_kinds/generated.rs +++ b/src/syntax_kinds/generated.rs @@ -157,9 +157,7 @@ pub enum SyntaxKind { TRY_EXPR, CAST_EXPR, REF_EXPR, - DEREF_EXPR, - NOT_EXPR, - NEG_EXPR, + PREFIX_EXPR, RANGE_EXPR, BIN_EXPR, EXTERN_BLOCK_EXPR, @@ -397,9 +395,7 @@ impl SyntaxKind { TRY_EXPR => &SyntaxInfo { name: "TRY_EXPR" }, CAST_EXPR => &SyntaxInfo { name: "CAST_EXPR" }, REF_EXPR => &SyntaxInfo { name: "REF_EXPR" }, - DEREF_EXPR => &SyntaxInfo { name: "DEREF_EXPR" }, - NOT_EXPR => &SyntaxInfo { name: "NOT_EXPR" }, - NEG_EXPR => &SyntaxInfo { name: "NEG_EXPR" }, + PREFIX_EXPR => &SyntaxInfo { name: "PREFIX_EXPR" }, RANGE_EXPR => &SyntaxInfo { name: "RANGE_EXPR" }, BIN_EXPR => &SyntaxInfo { name: "BIN_EXPR" }, EXTERN_BLOCK_EXPR => &SyntaxInfo { name: "EXTERN_BLOCK_EXPR" }, -- cgit v1.2.3