Skip to content

Commit

Permalink
kernel-doc: fix highlighting of nested data types
Browse files Browse the repository at this point in the history
this was obvious missed in commit 518b4ef

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
  • Loading branch information
return42 committed Feb 16, 2018
1 parent a50e432 commit 4b43f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linuxdoc/kernel_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def __getitem__(self, group):
type_member_func = RE(type_member.pattern + r"\(\)")
type_func = RE(r"(?<=\s)(\w+)(?<!\\)\(\)")
type_constant = RE(r"(?<=\s)\%([-_\w]+)")
type_param = RE(r"(?<=\s)\@(\w+)")
type_param = RE(r"(?<=\s)\@(\w*(\.\w+)*(\.\.\.)?)")
type_env = RE(r"(?<=\s)(\$\w+)")
type_struct = RE(r"(?<=\s)\&((struct\s*)*[_\w]+)")

Expand Down

0 comments on commit 4b43f41

Please sign in to comment.