doc-rst: parse-headers: better handle comments at the source code
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 17:13:12 +0000 (14:13 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 18:12:48 +0000 (15:12 -0300)
commit034e6c8e72afe0106e7ad3c19941053072b6a994
tree6045ff51cd42bf4b8558f75200c0fe9ac62d76af
parent447654d67c0de97524b7352839616ea5f467313d
doc-rst: parse-headers: better handle comments at the source code

We should not let comments to mangle with the symbols
parsing. Unfortunately, videodev2.h has lots of those
in the middle of enums and structs. So, we need to improve
our parser to discard them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/sphinx/parse-headers.pl