]> git.baikalelectronics.ru Git - kernel.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)
commitc9695a5cb749ef95e6826908b2fae6be3adc9537
treefd626c02a16fa772ad3b05dd05d1106596b6dea3
parent657fc8d95419cf96a92a7617649d80fc9bf5476e
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