diff options
-rw-r--r-- | crates/ra_parser/src/syntax_kind/generated.rs | 4 | ||||
-rw-r--r-- | crates/ra_parser/src/syntax_kind/generated.rs.tera | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index 1a08cc6eb..d7926bd91 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs | |||
@@ -245,8 +245,8 @@ use self::SyntaxKind::*; | |||
245 | macro_rules! T { | 245 | macro_rules! T { |
246 | (;) => { $crate::SyntaxKind::SEMI }; | 246 | (;) => { $crate::SyntaxKind::SEMI }; |
247 | (,) => { $crate::SyntaxKind::COMMA }; | 247 | (,) => { $crate::SyntaxKind::COMMA }; |
248 | (() => { $crate::SyntaxKind::L_PAREN }; | 248 | ('(') => { $crate::SyntaxKind::L_PAREN }; |
249 | ()) => { $crate::SyntaxKind::R_PAREN }; | 249 | (')') => { $crate::SyntaxKind::R_PAREN }; |
250 | ('{') => { $crate::SyntaxKind::L_CURLY }; | 250 | ('{') => { $crate::SyntaxKind::L_CURLY }; |
251 | ('}') => { $crate::SyntaxKind::R_CURLY }; | 251 | ('}') => { $crate::SyntaxKind::R_CURLY }; |
252 | ('[') => { $crate::SyntaxKind::L_BRACK }; | 252 | ('[') => { $crate::SyntaxKind::L_BRACK }; |
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs.tera b/crates/ra_parser/src/syntax_kind/generated.rs.tera index ccb8ca4ba..f5abbec4b 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs.tera +++ b/crates/ra_parser/src/syntax_kind/generated.rs.tera | |||
@@ -36,7 +36,7 @@ use self::SyntaxKind::*; | |||
36 | #[macro_export] | 36 | #[macro_export] |
37 | macro_rules! T { | 37 | macro_rules! T { |
38 | {%- for t in concat(a=single_byte_tokens, b=multi_byte_tokens) %} | 38 | {%- for t in concat(a=single_byte_tokens, b=multi_byte_tokens) %} |
39 | {%- if t.0 == '{' or t.0 == '}' or t.0 == '[' or t.0 == ']' %} | 39 | {%- if t.0 == '{' or t.0 == '}' or t.0 == '[' or t.0 == ']' or t.0 == '(' or t.0 == ')' %} |
40 | ('{{t.0}}') => { $crate::SyntaxKind::{{t.1}} }; | 40 | ('{{t.0}}') => { $crate::SyntaxKind::{{t.1}} }; |
41 | {%- else %} | 41 | {%- else %} |
42 | ({{t.0}}) => { $crate::SyntaxKind::{{t.1}} }; | 42 | ({{t.0}}) => { $crate::SyntaxKind::{{t.1}} }; |