File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,12 @@ contexts:
221
221
- include : expression-in-parens
222
222
223
223
expression-has-operators :
224
- - match : ' (?=@?\b({{identifier}}\.?)+\s*({{operators_assignment}}|\[))'
224
+ - match : ' (?=@?\(?\s*\ b({{identifier}}\.?)+\s*\)? \s*({{operators_assignment}}|\[))'
225
225
push :
226
226
- match : ' @'
227
227
scope : keyword.other
228
+ - match : ' (?=\()'
229
+ set : expression
228
230
- match : ' {{language_variables}}'
229
231
scope : variable.language
230
232
set : expression
Original file line number Diff line number Diff line change @@ -95,6 +95,17 @@ uint g_bw = 1 | 2 | 3 & 4 & ~0xFF << 1 >> 2;
95
95
96
96
void bitstuff()
97
97
{
98
+ @ (this .unit ) = unit;
99
+ // <- keyword.other
100
+ // ^ punctuation.section.parens.begin
101
+ // ^ punctuation.accessor
102
+ // ^ punctuation.section.parens.end
103
+ // ^ keyword.operator.assignment
104
+ // ^^^^ variable.other
105
+ // ^ punctuation.terminator
106
+ this .x = 1 ;
107
+ // <- variable.language
108
+
98
109
for (uint i = 0 ; i < m_skills.length(); i++ )
99
110
stuff();
100
111
// <- entity.name.function
You can’t perform that action at this time.
0 commit comments