File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ contexts:
451
451
452
452
data-structures :
453
453
# Detect variable type definitions using struct/enum/union followed by a tag
454
- - match : ' \b({{before_tag}})(?=\s+{{identifier}}\s+{{identifier}}\s*[=;\[])'
454
+ - match : ' \b({{before_tag}})(?=\s+{{identifier}}\s+\** {{identifier}}\s*[=;\[])'
455
455
scope : storage.type.c
456
456
- match : ' \bstruct\b'
457
457
scope : storage.type.c
Original file line number Diff line number Diff line change @@ -313,6 +313,10 @@ struct foo MACRO {
313
313
/* ^ - entity.name */
314
314
}
315
315
316
+ struct UI_BoundingBox * position_p ;
317
+ /* ^ - entity.name */
318
+ /* ^ - entity.name */
319
+
316
320
// Partially-typed
317
321
struct foo
318
322
/* ^ entity.name */
@@ -324,6 +328,9 @@ struct UI_MenuBoxData
324
328
struct UI_BoundingBox position ;
325
329
/* ^ - entity.name */
326
330
/* ^ - entity.name */
331
+ struct UI_BoundingBox * position_p ;
332
+ /* ^ - entity.name */
333
+ /* ^ - entity.name */
327
334
enum UI_BoxCharType borderType ;
328
335
/* ^ - entity.name */
329
336
/* ^ - entity.name */
You can’t perform that action at this time.
0 commit comments