diff options
| -rwxr-xr-x | tools/docs/lib/parse_data_structs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docs/lib/parse_data_structs.py b/tools/docs/lib/parse_data_structs.py index 0d537e989ea7..25361996cd20 100755 --- a/tools/docs/lib/parse_data_structs.py +++ b/tools/docs/lib/parse_data_structs.py @@ -214,7 +214,7 @@ class ParseDataStructs: # Parse reference type when the type is specified - match = re.match(r"^\:c\:(data|func|macro|type)\:\`(.+)\`", new) + match = re.match(r"^\:c\:(\w+)\:\`(.+)\`", new) if match: reftype = f":c:{match.group(1)}" new = match.group(2) |
