File tree 2 files changed +3
-3
lines changed
crates/ra_parser/src/syntax_kind
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ use self::SyntaxKind::*;
245
245
macro_rules! T {
246
246
( ; ) => { $crate:: SyntaxKind :: SEMI } ;
247
247
( , ) => { $crate:: SyntaxKind :: COMMA } ;
248
- ( ( ) => { $crate:: SyntaxKind :: L_PAREN } ;
249
- ( ) ) => { $crate:: SyntaxKind :: R_PAREN } ;
248
+ ( '(' ) => { $crate:: SyntaxKind :: L_PAREN } ;
249
+ ( ')' ) => { $crate:: SyntaxKind :: R_PAREN } ;
250
250
( '{' ) => { $crate:: SyntaxKind :: L_CURLY } ;
251
251
( '}' ) => { $crate:: SyntaxKind :: R_CURLY } ;
252
252
( '[' ) => { $crate:: SyntaxKind :: L_BRACK } ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ use self::SyntaxKind::*;
36
36
#[macro_export]
37
37
macro_rules! T {
38
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
40
('{{t.0}}') => { $crate::SyntaxKind::{{t.1}} };
41
41
{%- else %}
42
42
({{t.0}}) => { $crate::SyntaxKind::{{t.1}} };
You can’t perform that action at this time.
0 commit comments