Commit 526b8848 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 034e6c8e
...@@ -163,6 +163,10 @@ if ($file_exceptions) { ...@@ -163,6 +163,10 @@ if ($file_exceptions) {
delete $structs{$1} if (exists($structs{$1})); delete $structs{$1} if (exists($structs{$1}));
next; next;
} }
if (m/^ignore\s+symbol\s+(\S+)/) {
delete $enum_symbols{$1} if (exists($enum_symbols{$1}));
next;
}
# Parsers to replace a symbol # Parsers to replace a symbol
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment