diff options
Diffstat (limited to 'scripts/kernel-doc')
| -rwxr-xr-x | scripts/kernel-doc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index e7aa792e7f1b..446c0912395e 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
| @@ -212,6 +212,8 @@ my $type_struct_xml = '\\&((struct\s*)*[_\w]+)'; | |||
| 212 | my $type_env = '(\$\w+)'; | 212 | my $type_env = '(\$\w+)'; |
| 213 | my $type_enum_full = '\&(enum)\s*([_\w]+)'; | 213 | my $type_enum_full = '\&(enum)\s*([_\w]+)'; |
| 214 | my $type_struct_full = '\&(struct)\s*([_\w]+)'; | 214 | my $type_struct_full = '\&(struct)\s*([_\w]+)'; |
| 215 | my $type_typedef_full = '\&(typedef)\s*([_\w]+)'; | ||
| 216 | my $type_union_full = '\&(union)\s*([_\w]+)'; | ||
| 215 | 217 | ||
| 216 | # Output conversion substitutions. | 218 | # Output conversion substitutions. |
| 217 | # One for each output format | 219 | # One for each output format |
| @@ -283,6 +285,8 @@ my @highlights_rst = ( | |||
| 283 | [$type_func, "\\:c\\:func\\:`\$1()`"], | 285 | [$type_func, "\\:c\\:func\\:`\$1()`"], |
| 284 | [$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], | 286 | [$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], |
| 285 | [$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], | 287 | [$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], |
| 288 | [$type_typedef_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], | ||
| 289 | [$type_union_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], | ||
| 286 | # in rst this can refer to any type | 290 | # in rst this can refer to any type |
| 287 | [$type_struct, "\\:c\\:type\\:`\$1`"], | 291 | [$type_struct, "\\:c\\:type\\:`\$1`"], |
| 288 | [$type_param, "**\$1**"] | 292 | [$type_param, "**\$1**"] |
