From 66101e931c641b7d96dcfdbb83838130eab588bc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 22 Sep 2019 23:46:27 +0300 Subject: simplify --- crates/ra_parser/src/syntax_kind/generated.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/ra_parser/src/syntax_kind') diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index 23eb3c9cb..8b43d93fe 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs @@ -342,6 +342,11 @@ impl SyntaxKind { '^' => CARET, '%' => PERCENT, '_' => UNDERSCORE, + '.' => DOT, + ':' => COLON, + '=' => EQ, + '!' => EXCL, + '-' => MINUS, _ => return None, }; Some(tok) -- cgit v1.2.3