]> git.karo-electronics.de Git - linux-beck.git/commit
doc-rst: parse-headers: fix multiline typedef handler
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 11:09:37 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 11:12:57 +0000 (08:12 -0300)
commit4ff916a0c901559d4913bfdb2e5f676c9856b969
treefd626c02a16fa772ad3b05dd05d1106596b6dea3
parent6c4c7dadb4a1bb82d04d6c5096656f8fe63ba2a4
doc-rst: parse-headers: fix multiline typedef handler

The typedef handler should do two things to be generic:
  1) parse typedef enums;
  2) accept both possible syntaxes:
 typedef struct foo { .. } foo_t;
 typedef struct { .. } foo_t;

Unfortunately, this is needed to parse some legacy DVB
files, like dvb/audio.h.

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