File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ contexts:
451451
452452 data-structures :
453453 # 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+\**\s* {{identifier}}\s*[=;\[])'
455455 scope : storage.type.c
456456 - match : ' \bstruct\b'
457457 scope : storage.type.c
Original file line number Diff line number Diff line change @@ -313,6 +313,10 @@ struct foo MACRO {
313313/* ^ - entity.name */
314314}
315315
316+ struct UI_BoundingBox * position_p ;
317+ /* ^ - entity.name */
318+ /* ^ - entity.name */
319+
316320// Partially-typed
317321struct foo
318322/* ^ entity.name */
@@ -324,6 +328,12 @@ struct UI_MenuBoxData
324328 struct UI_BoundingBox position ;
325329/* ^ - entity.name */
326330/* ^ - entity.name */
331+ struct UI_BoundingBox * position_p ;
332+ /* ^ - entity.name */
333+ /* ^ - entity.name */
334+ struct UI_BoundingBox * position_p2 ;
335+ /* ^ - entity.name */
336+ /* ^ - entity.name */
327337 enum UI_BoxCharType borderType ;
328338/* ^ - entity.name */
329339/* ^ - entity.name */
You can’t perform that action at this time.
0 commit comments