File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 355
355
}
356
356
]
357
357
},
358
+ {
359
+ "begin" : " \\ b(faultdef)\\ b" ,
360
+ "beginCaptures" : {
361
+ "1" : {
362
+ "name" : " keyword.declaration.faultdef.c3"
363
+ }
364
+ },
365
+ "end" : " ;" ,
366
+ "endCaptures" : {
367
+ "0" : {
368
+ "name" : " punctuation.terminator.c3"
369
+ }
370
+ },
371
+ "contentName" : " meta.faultdef.c3" ,
372
+ "patterns" : [
373
+ {
374
+ "include" : " #comments"
375
+ },
376
+ {
377
+ "match" : " \\ b(?:_*[A-Z][_A-Z0-9]*)\\ b" ,
378
+ "name" : " variable.other.constant"
379
+ },
380
+ {
381
+ "match" : " ," ,
382
+ "name" : " punctuation.separator.c3"
383
+ }
384
+ ]
385
+ },
358
386
{
359
387
"begin" : " (?=\\ binterface\\ b)" ,
360
388
"end" : " (?<=\\ })" ,
Original file line number Diff line number Diff line change @@ -175,7 +175,20 @@ repository:
175
175
name : variable.other.enummember.c3
176
176
- match : ' ,'
177
177
name : punctuation.separator.c3
178
-
178
+ # Faultdef
179
+ - begin : ' \b(faultdef)\b'
180
+ beginCaptures :
181
+ 1 : { name: keyword.declaration.faultdef.c3 }
182
+ end : ' ;'
183
+ endCaptures :
184
+ 0 : { name: punctuation.terminator.c3 }
185
+ contentName : meta.faultdef.c3
186
+ patterns :
187
+ - include : " #comments"
188
+ - match : ' \b{{CONST}}\b'
189
+ name : variable.other.constant
190
+ - match : ' ,'
191
+ name : punctuation.separator.c3
179
192
# Interface
180
193
- begin : ' (?=\binterface\b)'
181
194
end : (?<=\})
You can’t perform that action at this time.
0 commit comments