Skip to content
Snippets Groups Projects
Verified Commit 766caee1 authored by rahix's avatar rahix
Browse files

fix(api): Make regex work with more type decls


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 8a1b5c7f
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ MATCH_DECLARATION = re.compile(
)
MATCH_TYPENAME = re.compile(
r"^(?P<type>(?:const )?(?:struct )?\w+(?:\s+|\*+))(?P<name>\w+)$",
r"^(?P<type>(?:const )?(?:struct )?\w+[*\s]+)(?P<name>\w+)$",
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment