diff options
author | NĂcolas F. R. A. Prado <nfraprado@protonmail.com> | 2020-10-13 23:13:34 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-10-15 07:49:38 +0200 |
commit | c51d9b046f907b7c96760700c6bdda6fbe38de60 (patch) | |
tree | b3b4375e788e793e6d211d76ec13768ad55a2336 /net | |
parent | 3050edfd7971da7fddc77ac7c4607697ec10a554 (diff) |
docs: automarkup.py: Add cross-reference for parametrized C macros
Sphinx 3 added support for declaring C macros with parameters using the
:c:macro role.
To support automarkup for both functions and parametrized macros using
the same regex (words ending in ()), try to cross-reference to both, and
only fall back to regular text if neither exist.
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@protonmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions