diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-07 14:26:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-07 15:13:07 -0300 |
commit | 526b88483183efa68ad692c473c1a434f4d2314d (patch) | |
tree | 67167bba51ffdf4564a90e787b819f4b5286f2de /Documentation/sphinx | |
parent | 034e6c8e72afe0106e7ad3c19941053072b6a994 (diff) |
doc-rst: parse-headers: add an option to ignore enum symbols
At videodev2.h, we have hundreds of symbols that don't
currently have a reference yet. Let's ignore for how, while
we don't improve those cross-refs.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/sphinx')
-rwxr-xr-x | Documentation/sphinx/parse-headers.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/sphinx/parse-headers.pl b/Documentation/sphinx/parse-headers.pl index fc18eac1552c..16ea28b0d2e1 100755 --- a/Documentation/sphinx/parse-headers.pl +++ b/Documentation/sphinx/parse-headers.pl @@ -163,6 +163,10 @@ if ($file_exceptions) { delete $structs{$1} if (exists($structs{$1})); next; } + if (m/^ignore\s+symbol\s+(\S+)/) { + delete $enum_symbols{$1} if (exists($enum_symbols{$1})); + next; + } # Parsers to replace a symbol |