Skip to content

Commit 4b43f41

Browse files
committed
kernel-doc: fix highlighting of nested data types
this was obvious missed in commit 518b4ef Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 parent a50e432 commit 4b43f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linuxdoc/kernel_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def __getitem__(self, group):
171171
type_member_func = RE(type_member.pattern + r"\(\)")
172172
type_func = RE(r"(?<=\s)(\w+)(?<!\\)\(\)")
173173
type_constant = RE(r"(?<=\s)\%([-_\w]+)")
174-
type_param = RE(r"(?<=\s)\@(\w+)")
174+
type_param = RE(r"(?<=\s)\@(\w*(\.\w+)*(\.\.\.)?)")
175175
type_env = RE(r"(?<=\s)(\$\w+)")
176176
type_struct = RE(r"(?<=\s)\&((struct\s*)*[_\w]+)")
177177

0 commit comments

Comments
 (0)